From: John Levon Subject: Transaction mapping in xenstored Date: Tue, 6 Mar 2007 11:24:42 +0000 Message-ID: <20070306112442.GA27682@totally.trollied.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org (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