All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juergen Gross <jgross@suse.com>
To: xen-devel@lists.xenproject.org
Cc: Juergen Gross <jgross@suse.com>, Wei Liu <wl@xen.org>,
	Julien Grall <julien@xen.org>,
	Anthony PERARD <anthony.perard@citrix.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	George Dunlap <george.dunlap@citrix.com>,
	Jan Beulich <jbeulich@suse.com>,
	Stefano Stabellini <sstabellini@kernel.org>
Subject: [PATCH v2 00/13] tools/xenstore: rework internal accounting
Date: Fri, 20 Jan 2023 11:00:15 +0100	[thread overview]
Message-ID: <20230120100028.11142-1-jgross@suse.com> (raw)

This series reworks the Xenstore internal accounting to use a uniform
generic framework. It is adding some additional useful diagnostic
information, like accounting trace and max. per-domain and global quota
values seen.

Changes in V2:
- added patch 1 (leftover from previous series)
- rebase

Juergen Gross (13):
  tools/xenstore: don't allow creating too many nodes in a transaction
  tools/xenstore: manage per-transaction domain accounting data in an
    array
  tools/xenstore: introduce accounting data array for per-domain values
  tools/xenstore: add framework to commit accounting data on success
    only
  tools/xenstore: use accounting buffering for node accounting
  tools/xenstore: add current connection to domain_memory_add()
    parameters
  tools/xenstore: use accounting data array for per-domain values
  tools/xenstore: add accounting trace support
  tools/xenstore: add TDB access trace support
  tools/xenstore: switch transaction accounting to generic accounting
  tools/xenstore: remember global and per domain max accounting values
  tools/xenstore: use generic accounting for remaining quotas
  tools/xenstore: switch quota management to be table based

 docs/misc/xenstore.txt                 |   5 +-
 tools/xenstore/xenstored_control.c     |  65 ++--
 tools/xenstore/xenstored_core.c        | 164 +++++-----
 tools/xenstore/xenstored_core.h        |  23 +-
 tools/xenstore/xenstored_domain.c      | 435 ++++++++++++++++++-------
 tools/xenstore/xenstored_domain.h      |  55 +++-
 tools/xenstore/xenstored_transaction.c |  22 +-
 tools/xenstore/xenstored_watch.c       |  15 +-
 8 files changed, 506 insertions(+), 278 deletions(-)

-- 
2.35.3



             reply	other threads:[~2023-01-20 10:00 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-20 10:00 Juergen Gross [this message]
2023-01-20 10:00 ` [PATCH v2 01/13] tools/xenstore: don't allow creating too many nodes in a transaction Juergen Gross
2023-02-20  9:46   ` Julien Grall
2023-02-20 11:04     ` Juergen Gross
2023-02-20 12:07       ` Julien Grall
2023-02-20 13:49         ` Juergen Gross
2023-02-20 14:06           ` Juergen Gross
2023-02-20 14:15           ` Julien Grall
2023-02-20 14:21             ` Juergen Gross
2023-02-20 18:01               ` Julien Grall
2023-02-21  8:10                 ` Juergen Gross
2023-02-21 22:36                   ` Julien Grall
2023-02-22  8:36                     ` Juergen Gross
2023-02-22  8:52                       ` Julien Grall
2023-02-22  9:37                         ` Juergen Gross
2023-01-20 10:00 ` [PATCH v2 02/13] tools/xenstore: manage per-transaction domain accounting data in an array Juergen Gross
2023-02-17 18:49   ` Julien Grall
2023-01-20 10:00 ` [PATCH v2 03/13] tools/xenstore: introduce accounting data array for per-domain values Juergen Gross
2023-02-17 19:29   ` Julien Grall
2023-02-20 11:20     ` Juergen Gross
2023-02-20 12:13       ` Julien Grall
2023-01-20 10:00 ` [PATCH v2 04/13] tools/xenstore: add framework to commit accounting data on success only Juergen Gross
2023-02-20 22:50   ` Julien Grall
2023-02-21  8:37     ` Juergen Gross
2023-02-21 22:42       ` Julien Grall
2023-02-22  8:52         ` Juergen Gross
2023-01-20 10:00 ` [PATCH v2 05/13] tools/xenstore: use accounting buffering for node accounting Juergen Gross
2023-01-20 10:00 ` [PATCH v2 06/13] tools/xenstore: add current connection to domain_memory_add() parameters Juergen Gross
2023-01-20 10:00 ` [PATCH v2 07/13] tools/xenstore: use accounting data array for per-domain values Juergen Gross
2023-01-20 10:00 ` [PATCH v2 08/13] tools/xenstore: add accounting trace support Juergen Gross
2023-02-20 22:57   ` Julien Grall
2023-02-21  8:40     ` Juergen Gross
2023-02-21 22:45       ` Julien Grall
2023-01-20 10:00 ` [PATCH v2 09/13] tools/xenstore: add TDB access " Juergen Gross
2023-02-20 22:59   ` Julien Grall
2023-02-21  8:41     ` Juergen Gross
2023-01-20 10:00 ` [PATCH v2 10/13] tools/xenstore: switch transaction accounting to generic accounting Juergen Gross
2023-01-20 10:00 ` [PATCH v2 11/13] tools/xenstore: remember global and per domain max accounting values Juergen Gross
2023-01-20 10:00 ` [PATCH v2 12/13] tools/xenstore: use generic accounting for remaining quotas Juergen Gross
2023-01-20 10:00 ` [PATCH v2 13/13] tools/xenstore: switch quota management to be table based Juergen Gross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230120100028.11142-1-jgross@suse.com \
    --to=jgross@suse.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=anthony.perard@citrix.com \
    --cc=george.dunlap@citrix.com \
    --cc=jbeulich@suse.com \
    --cc=julien@xen.org \
    --cc=sstabellini@kernel.org \
    --cc=wl@xen.org \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.