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

Re: [Xen-devel] [PATCH v1 03/10] libxl: store a copy of vanilla domain configuration when creating domain



Wei Liu writes ("Re: [PATCH v1 03/10] libxl: store a copy of vanilla domain 
configuration when creating domain"):
> I actually looked at flock(2) this afternoon but deemed it is not as
> portable as fcntl so I didn't propose it. flock on NFS file probably
> won't work (I bet we won't have the chance to put user data store on NFS
> though). And somee other UNIX systems might actually implement flock with
> fcntl. The latter is more concerning.

No-one will put /var/run/xen on NFS.  Or at least, if they do, they
deserve to keep all of the pieces.  (fcntl sometimes doesn't work
properly on NFS either.)

And we only care about dom0 kernel operating systems.  So I think we
can discount the possibility that any of them are god-knows-what
ancient thing that doesn't have a real flock.

> If you don't think the above issues are critical I can try to replace
> fcntl with flock.

Yes, please.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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