Skip to content

tools/xenstore: rework internal accounting

Juergen Gross xen-devel 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest14 patches 3 repliesIn review
  2. v514 patches 13 repliesSuperseded
  3. v413 patches 23 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v313 patches0 repliesSuperseded
v213 patches26 repliesSuperseded

Changes in v6 from the cover letter

- addressed comments

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14tools/xenstore: take transaction internal nodes into account for quotatools/xenstore/xenstored_domain.c+2 -30 replies
2/14tools/xenstore: manage per-transaction domain accounting data in an arraytools/xenstore/xenstored_domain.c tools/xenstore/xenstored_domain.h+21 -80 replies
3/14tools/xenstore: introduce accounting data array for per-domain valuestools/xenstore/xenstored_domain.c tools/xenstore/xenstored_domain.h+43 -300 replies
4/14tools/xenstore: add framework to commit accounting data on success onlytools/xenstore/xenstored_core.c tools/xenstore/xenstored_core.h tools/xenstore/xenstored_domain.c +1 more+68 -20 replies
5/14tools/xenstore: use accounting buffering for node accountingtools/xenstore/xenstored_core.c tools/xenstore/xenstored_domain.h+16 -251 reply
6/14tools/xenstore: add current connection to domain_memory_add() parameterstools/xenstore/xenstored_core.c tools/xenstore/xenstored_domain.c tools/xenstore/xenstored_domain.h +1 more+33 -230 replies
7/14tools/xenstore: use accounting data array for per-domain valuestools/xenstore/xenstored_core.c tools/xenstore/xenstored_domain.c tools/xenstore/xenstored_domain.h+48 -730 replies
8/14tools/xenstore: add accounting trace supporttools/xenstore/xenstored_core.c tools/xenstore/xenstored_core.h tools/xenstore/xenstored_domain.c+12 -10 replies
9/14tools/xenstore: add TDB access trace supporttools/xenstore/xenstored_core.c tools/xenstore/xenstored_core.h tools/xenstore/xenstored_transaction.c+20 -20 replies
10/14tools/xenstore: switch transaction accounting to generic accountingtools/xenstore/xenstored_core.c tools/xenstore/xenstored_core.h tools/xenstore/xenstored_domain.c +2 more+30 -140 replies
11/14tools/xenstore: remember global and per domain max accounting valuesdocs/misc/xenstore.txt tools/xenstore/xenstored_control.c tools/xenstore/xenstored_domain.c +1 more+108 -210 replies
12/14tools/xenstore: use generic accounting for remaining quotastools/xenstore/xenstored_core.c tools/xenstore/xenstored_core.h tools/xenstore/xenstored_domain.c +3 more+55 -171 reply
13/14tools/xenstore: switch get_optval_int() to get_optval_uint()tools/xenstore/xenstored_core.c+6 -60 replies
14/14tools/xenstore: switch quota management to be table basedtools/xenstore/xenstored_control.c tools/xenstore/xenstored_core.c tools/xenstore/xenstored_core.h +4 more+153 -1380 replies

Reviews trailers per patch

All 14 patches have a Reviewed-by or Acked-by.

PatchJulien Grall
1/14A-b
2/14R-b
3/14R-b
4/14R-b
5/14A-b
6/14A-b
7/14A-b
8/14R-b
9/14R-b
10/14A-b
11/14R-b
12/14A-b
13/14R-b
14/14A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

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

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(-)
Signature · 1 line
2.35.3