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

Re: [Xen-devel] xs transaction


  • To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
  • Date: Tue, 11 Sep 2007 08:42:34 +0100
  • Delivery-date: Tue, 11 Sep 2007 00:38:45 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: Acf0Q9+kPHP1cHSpSZSDVBFVO42XRAAAfPCSAAAbwlAAAEOchQ==
  • Thread-topic: [Xen-devel] xs transaction

On 11/9/07 08:34, "Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:

> So given following nest case, I'm not sure how it's prevented:
> Xs_transaction_start(xs_handle);
> <- at this point, conn->transaction is NULL
> Xs_transaction_start(xs_handle);

These transactions are not nested (at least from the p.o.v. of xenstored):
they are independent transaction contexts which cannot see one another's
updates. It's not even possible to request construction of a nested
transaction via the interfaces exposed in xs.h.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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