[PATCH v6 00/14] tools/xenstore: rework internal accounting

Juergen Gross posted 14 patches 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20230530082424.32126-1-jgross@suse.com
docs/misc/xenstore.txt                 |   5 +-
tools/xenstore/xenstored_control.c     |  65 ++--
tools/xenstore/xenstored_core.c        | 185 ++++++-----
tools/xenstore/xenstored_core.h        |  24 +-
tools/xenstore/xenstored_domain.c      | 434 ++++++++++++++++++-------
tools/xenstore/xenstored_domain.h      |  59 +++-
tools/xenstore/xenstored_transaction.c |  25 +-
tools/xenstore/xenstored_watch.c       |  15 +-
8 files changed, 532 insertions(+), 280 deletions(-)
[PATCH v6 00/14] tools/xenstore: rework internal accounting
Posted by Juergen Gross 10 months ago
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

Changes in V3:
- addressed comments

Changes in V4:
- fixed patch 3

Changes in V5:
- addressed comments

Changes in V6:
- addressed comments

Juergen Gross (14):
  tools/xenstore: take transaction internal nodes into account for quota
  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 get_optval_int() to get_optval_uint()
  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        | 185 ++++++-----
 tools/xenstore/xenstored_core.h        |  24 +-
 tools/xenstore/xenstored_domain.c      | 434 ++++++++++++++++++-------
 tools/xenstore/xenstored_domain.h      |  59 +++-
 tools/xenstore/xenstored_transaction.c |  25 +-
 tools/xenstore/xenstored_watch.c       |  15 +-
 8 files changed, 532 insertions(+), 280 deletions(-)

-- 
2.35.3
Re: [PATCH v6 00/14] tools/xenstore: rework internal accounting
Posted by Julien Grall 9 months, 3 weeks ago
Hi Juergen,

On 30/05/2023 09:24, Juergen Gross wrote:
> 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
> 
> Changes in V3:
> - addressed comments
> 
> Changes in V4:
> - fixed patch 3
> 
> Changes in V5:
> - addressed comments
> 
> Changes in V6:
> - addressed comments
> 
> Juergen Gross (14):
>    tools/xenstore: take transaction internal nodes into account for quota
>    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 get_optval_int() to get_optval_uint()
>    tools/xenstore: switch quota management to be table based

I have committed the series.

Cheers,

-- 
Julien Grall