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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] Transaction mapping in xenstored

To: John Levon <levon@xxxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Transaction mapping in xenstored
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: 2007年3月06日 11:31:56 +0000
Delivery-date: 2007年3月06日 03:31:10 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070306112442.GA27682@xxxxxxxxxxxxxxxxxxxxxxx>
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: Acdf4wuWSlH82svWEdueUQAX8io7RQ==
Thread-topic: [Xen-devel] Transaction mapping in xenstored
User-agent: Microsoft-Entourage/11.2.5.060620
On 6/3/07 11:24, "John Levon" <levon@xxxxxxxxxxxxxxxxx> wrote:
> I'm unclear on why we have to have the mapping part of solving the
> xendev problem. Can't we just allocate a transaction as usual if we see
> an ID without a transaction existing, mark it as pre-fail, and when we
> see the transaction end, discard the copy as if it had raced?
>
> Surely the ID lookup is guaranteed to fail in the circumstances we care
> about (restore, xenstored restart)?
Xenstored allocates transaction ids, and it can reuse them after
restore/restart. So you'll be able to end up with multiple transaction
contexts in the guest who were all originally allocated the same transaction
id by xenstored. Of course all but one is certainly doomed, but you need to
disambiguate...
 -- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] COW in Xen , Mark Ryden
Next by Date: Re: [Xen-devel] [PATCH 7/10] linux 2.6.18: time handling , Keir Fraser
Previous by Thread: [Xen-devel] Transaction mapping in xenstored , John Levon
Next by Thread: [Xen-devel] [PATCH] add domain creation/shutdown script execution support. , Steve Kemp
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /