public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH cluster 0/3] logging improvements
@ 2020-10-01  8:53 Fabian Grünbichler
  2020-10-01  8:53 ` [pve-devel] [RFC cluster 1/3] pmxcfs: switch log domain to enum Fabian Grünbichler
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Fabian Grünbichler @ 2020-10-01  8:53 UTC (permalink / raw)
  To: pve-devel

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(-)

-- 
2.20.1





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-04-22 19:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-01  8:53 [pve-devel] [PATCH cluster 0/3] logging improvements Fabian Grünbichler
2020-10-01  8:53 ` [pve-devel] [RFC cluster 1/3] pmxcfs: switch log domain to enum Fabian Grünbichler
2020-10-01  8:53 ` [pve-devel] [PATCH cluster 2/3] pmxcfs: set log domain in more places Fabian Grünbichler
2020-10-01  8:53 ` [pve-devel] [PATCH cluster 3/3] pmxcfs: enable QB log thread Fabian Grünbichler
2021-04-22 19:45 ` [pve-devel] [PATCH cluster 0/3] logging improvements Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal