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

[Xen-devel] Transaction mapping in xenstored

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Transaction mapping in xenstored
From: John Levon <levon@xxxxxxxxxxxxxxxxx>
Date: Tue, 6 Mar 2007 11:24:42 +0000
Delivery-date: Tue, 06 Mar 2007 03:20:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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
User-agent: Mutt/1.5.9i
(Sorry, lost Keir's mail).

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)?

regards
john

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

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