[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH v3 0/4] xenstore: rework of transaction handling



Rework the transaction handling of xenstored to no longer raise
conflicts so often.

This series has been sent for pre-review to some reviewers before as the
series is related to XSA 206 which has been disclosed only today. So V1
and V2 have been non-public in order to speed up review process without
disclosing the XSA.

Changes in V3:
- don't always return EAGAIN in case of a failed transaction:
  it can be ENOMEM or ENOSPC, too.

Changes in V2:
- Rebase on top of those patches
- split patch 1 in two patches as suggested by Ian

Juergen Gross (4):
  xenstore: let write_node() and some callers return errno
  xenstore: undo function rename
  xenstore: rework of transaction handling
  xenstore: cleanup tdb.c

 tools/xenstore/tdb.c                   | 439 +--------------------------------
 tools/xenstore/tdb.h                   |  22 --
 tools/xenstore/xenstored_core.c        | 173 ++++++-------
 tools/xenstore/xenstored_core.h        |  17 +-
 tools/xenstore/xenstored_domain.c      |  24 +-
 tools/xenstore/xenstored_domain.h      |   2 +-
 tools/xenstore/xenstored_transaction.c | 429 ++++++++++++++++++++++++++------
 tools/xenstore/xenstored_transaction.h |  18 +-
 8 files changed, 481 insertions(+), 643 deletions(-)

-- 
2.10.2


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.