qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH VERSION 2] Disk image shared and exclusive locks.


From: Richard W.M. Jones
Subject: [Qemu-devel] [PATCH VERSION 2] Disk image shared and exclusive locks.
Date: Mon, 7 Dec 2009 14:16:52 +0000
User-agent: Mutt/1.5.18 (2008-05-17)

Here's a second go at this patch.  The only change is that we add a
second parameter (backinglock=none|shared|exclusive) which can be used
to control locking on the first level (only) of backing disk.

Dan Berrange convinced me there was a case to retain a distinct shared
locking type.

For any qemu instance which is going to use the "commit" command, I
would advise using: lock=exclusive,backinglock=exclusive.

For qemu instances which won't be using commit, I would advise:
lock=exclusive,backinglock=shared.

For qemu instances which are using GFS-like shared filesystems, I
would advise: lock=shared.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming blog: http://rwmj.wordpress.com
Fedora now supports 80 OCaml packages (the OPEN alternative to F#)
http://cocan.org/getting_started_with_ocaml_on_red_hat_and_fedora

Attachment: 0001-Disk-image-shared-and-exclusive-locks.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]