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.liu2@citrix.com, ian.jackson@eu.citrix.com
Subject: [PATCH v3 0/4] xenstore: rework of transaction handling
Date: Tue, 28 Mar 2017 18:26:11 +0200	[thread overview]
Message-ID: <20170328162615.16857-1-jgross@suse.com> (raw)

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@lists.xen.org
https://lists.xen.org/xen-devel

             reply	other threads:[~2017-03-28 16:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-28 16:26 Juergen Gross [this message]
2017-03-28 16:26 ` [PATCH v3 1/4] xenstore: let write_node() and some callers return errno Juergen Gross
2017-03-28 16:26 ` [PATCH v3 2/4] xenstore: undo function rename Juergen Gross
2017-03-28 16:26 ` [PATCH v3 3/4] xenstore: rework of transaction handling Juergen Gross
2017-03-30 11:17   ` Wei Liu
2017-03-30 12:36     ` Juergen Gross
2017-03-30 13:00       ` Wei Liu
2017-03-28 16:26 ` [PATCH v3 4/4] xenstore: cleanup tdb.c Juergen Gross
2017-03-29 14:10 ` [PATCH v3 0/4] xenstore: rework of transaction handling Juergen Gross
2017-03-30 10:50   ` Julien Grall
2017-04-03 13:53 ` Ian Jackson

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=20170328162615.16857-1-jgross@suse.com \
    --to=jgross@suse.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=wei.liu2@citrix.com \
    --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.