From: Keir Fraser Subject: Re: /proc/xen/xenbus supports watch? Date: Fri, 23 Sep 2005 10:24:38 +0100 Message-ID: References: <5d7aca9505090801025f3d5771@mail.gmail.com> <3d8eece205090803381b818f18@mail.gmail.com> <1126226609.25110.3.camel@localhost.localdomain> <3d8eece205091302422ac74f77@mail.gmail.com> <1126657264.7896.20.camel@localhost.localdomain> <1126689530.4415.10.camel@localhost.localdomain> <3d8eece205091405555a2871fc@mail.gmail.com> <1126748390.12119.33.camel@localhost.localdomain> <1126945564.29203.116.camel@localhost.localdomain> <1127088661.23870.47.camel@localhost.localdomain> <1127214064.2656.45.camel@localhost.localdomain> <61d8a8d77f6cbe2402b6a05810bd9447@cl.cam.ac.uk> <1127355755.7567.24.camel@localhost.localdomain> <4f7ac507bdbff3eafe3d0aaba1446e41@cl.cam.ac.uk> <1127433079.2722.24.camel@localhost.localdomain> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1127433079.2722.24.camel@localhost.localdomain> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Rusty Russell Cc: xen-devel List , Steven Hand , Christian Limpach List-Id: xen-devel@lists.xenproject.org On 23 Sep 2005, at 00:51, Rusty Russell wrote: > Which is why I am pondering a bundle/unbundle interface for > transactions, so we can migrate them with the domain. Summary: How do you guarantee consistency of the migrated transaction? It holds no locks or anything on the values it has read while it is not running, so they could change under its feet? Correctness-wise, it sounds to me as though bundle/unbundle has the same correctness guarantees as drop all writes, ENOENT on reads, and EAGAIN on commit. Or is the bundling simply so that you can continue to feed consistent snapshotted values to the transaction from its 'shadow store', even though it is ultimately a doomed transaction? Do xenstored's performance problems stem from copying the store for every transaction? -- Keir