[pve-devel] [PATCH cluster 0/3] logging improvements
Thomas Lamprecht
t.lamprecht at proxmox.com
Thu Apr 22 21:45:52 CEST 2021
On 01.10.20 10:53, Fabian Grünbichler wrote:
> noticed while debugging the (as it turns out) missing lock issue that
> qb_log is not thread-safe by default, this patch series switches to
> threaded, non-blocking logging.
>
> Fabian Grünbichler (3):
> pmxcfs: switch log domain to enum
> pmxcfs: set log domain in more places
> pmxcfs: enable QB log thread
>
> data/src/cfs-utils.h | 36 ++++++++++++++++++++++++++++++++----
> data/src/dfsm.h | 6 +++---
> data/src/loop.h | 2 +-
> data/src/cfs-plug-func.c | 2 ++
> data/src/cfs-plug-link.c | 2 ++
> data/src/cfs-plug-memdb.c | 2 ++
> data/src/cfs-plug.c | 2 ++
> data/src/cfs-utils.c | 16 ++++++++--------
> data/src/confdb.c | 3 ++-
> data/src/database.c | 1 +
> data/src/dcdb.c | 3 ++-
> data/src/dfsm.c | 18 +++++++++++-------
> data/src/logger.c | 2 ++
> data/src/loop.c | 11 ++++++-----
> data/src/memdb.c | 2 ++
> data/src/pmxcfs.c | 21 ++++++++++++---------
> data/src/quorum.c | 3 ++-
> data/src/server.c | 1 +
> data/src/status.c | 3 ++-
> 19 files changed, 95 insertions(+), 41 deletions(-)
>
would need a rebase if we still want this
More information about the pve-devel
mailing list