Re: [PATCH v3 00/11] Introduce worker tuning APIs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/04/16 23:09, Erik Skultety wrote:
> since v2:
> - all getters are now protected by threadpool mutex to prevent torn reads in
> concurrent execution
> - some checks in adminDispatchServerGetThreadpoolParameters were redundant,
> thus were optimizes out
> - fixed memory leak in adminDispatchServerGetThreadpoolParameters when
> allocating a newlist although typed params serialization already does that
> - fixed some cosmetic issues like exporting a function prototype one patch
> earlier than it should actually be introduced - a mistake that got there by
> interactive rebase
> 
> Erik Skultety (11):
>   po: Fix record ordering in POTFILES.in
>   libvirt-host: Move virTypedParam* to libvirt-common
>   admin: Enable usage of typed parameters
>   util: Refactor thread creation by introducing virThreadPoolExpand
>   util: Report system error when virThreadCreateFull fails
>   util: Use a mutex when retrieving threadpool data
>   util: Add more getters to threadpool parameters
>   admin: Prepare admin protocol for future worker related procedures
>   admin: Introduce virAdmServerGethreadPoolParameters
>   admin: Introduce virAdmServerSetThreadPoolParameters
>   virt-admin: Introduce srv-workertune command
> 
>  cfg.mk                              |   2 +-
>  daemon/admin.c                      |  88 +++++++++++++
>  daemon/admin_server.c               | 110 +++++++++++++++++
>  daemon/admin_server.h               |  11 ++
>  include/libvirt/libvirt-admin.h     |  71 +++++++++++
>  include/libvirt/libvirt-common.h.in | 185 ++++++++++++++++++++++++++++
>  include/libvirt/libvirt-host.h      | 186 ----------------------------
>  po/POTFILES.in                      |   4 +-
>  src/admin/admin_protocol.x          |  54 +++++++-
>  src/admin/admin_remote.c            |  77 ++++++++++++
>  src/admin_protocol-structs          |  45 +++++++
>  src/libvirt-admin.c                 |  83 +++++++++++++
>  src/libvirt_admin_private.syms      |   3 +
>  src/libvirt_admin_public.syms       |   2 +
>  src/libvirt_private.syms            |   4 +
>  src/rpc/virnetserver.c              |  37 ++++++
>  src/rpc/virnetserver.h              |  13 ++
>  src/util/virthreadpool.c            | 238 +++++++++++++++++++++++++-----------
>  src/util/virthreadpool.h            |   8 ++
>  tools/virt-admin.c                  | 132 ++++++++++++++++++++
>  20 files changed, 1096 insertions(+), 257 deletions(-)
> 

I made some code adjustments to this series and sent v4.

Erik

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]