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

Re: [Xen-devel][PATCH]improve suspend_evtchn lock processing



Chun Yan Liu writes ("[Xen-devel][PATCH]improve suspend_evtchn lock 
processing"):
> While doing migration, sometimes found suspend lock file was not
> unlinked in previous operations, then there is an obsolete lock file
> in place, which causes the current and later migration cannot get
> lock. That happens seldomly but do happen.

I think we should be using fcntl or flock, not an O_EXCL lockfile.

This kind of messing about with pids reduces the proportion of
situations where things go wrong, but it cannot be made race-free.

Ian.

_______________________________________________
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®.