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

Re: [Xen-devel] Last call for forgotten tools patches for Xen 4.1



Jim Fehlig writes ("Re: [Xen-devel] Last call for forgotten tools patches for 
Xen 4.1"):
> Sorry for the delay, but I just noticed this tools patch submitted by
> Chun Yan back in November
> 
> http://lists.xensource.com/archives/html/xen-devel/2010-11/msg01559.html

Thanks.  I replied to that but there was no updated patch.

Now that I look at the patch again I see some other problems:
 * It closes the fd onto the file after locking it with flock (!)
 * On success it unlinks the lock file after locking it (!!)
 * The error return value is wrong (or perhaps it was wrong before).
It is evident that this patch cannot have been properly tested since
it won't actually provide mutual exclusion in its current form.

I think we should look at this again after the 4.1 release.

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