[Qemu-devel] Re: [PATCH] Disk image shared and exclusive locks.

2009-12-07 Thread Paolo Bonzini
On 12/07/2009 02:39 PM, Anthony Liguori wrote: That's a use-case that needs to be thought through. Maybe commit should attempt to force the lower level to acquire a write lock first? Yes. This is an argument in favor of a "DWIM" lock option instead of giving shared/exclusive choice to the u

[Qemu-devel] Re: [PATCH] Disk image shared and exclusive locks.

2009-12-07 Thread Paolo Bonzini
Now an admin comes along with with libguestfs and attempts to access the disk containing the GFS volume. libguestfs isn't part of the cluster but that doesn't matter because you can happily access a GFS filesystem in standalone mode provided it is not in use by any other nodes. We need to stop li