[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] /proc/xen/xenbus supports watch?



On Sun, 2005-09-25 at 12:09 +0100, Keir Fraser wrote:
> How will you handle 'xenstored restart'? You can't really guarantee 
> that to always happen at opportune moments with no transactions in 
> flight.

Transaction IDs: when you create a transaction instead of returning "OK"
it returns an ID (this also helps if later we want multiple transactions
at a time on a single connection).  If you were in a transaction you
EBADF, you simply ask for it back before continuing: this can be done by
libxenstore.

It's simple enough to implement, because xenstored keeps each
transaction in a separate file: it just has to pick up those files again
on restart.

I'll start sending patches...
Cheers,
Rusty.
-- 
A bad analogy is like a leaky screwdriver -- Richard Braakman


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.