WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] xs transaction

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xs transaction
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
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <D470B4E54465E3469E2ABBC5AFAC390F013B223B@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acf0Q9+kPHP1cHSpSZSDVBFVO42XRAAAfPCSAAAbwlAAAEOchQ==
Thread-topic: [Xen-devel] xs transaction
User-agent: Microsoft-Entourage/11.3.6.070618
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

<Prev in Thread] Current Thread [Next in Thread>