[libvirt] [PATCH 11/14] Add ability to maintain disk leases indirectly

Michal Privoznik mprivozn at redhat.com
Wed Dec 12 18:14:07 UTC 2012


On 11.12.2012 21:41, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
> 
> The default lockd driver behavour is to acquire leases
> directly on the disk files. This introduces an alternative
> mode, where leases are acquire indirectly on a file that
> is based on a SHA256 hash of the disk filename.
> 
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
>  bootstrap.conf                        |   1 +
>  src/Makefile.am                       |   4 +-
>  src/locking/libvirt_lockd.aug         |   1 +
>  src/locking/lock_driver_lockd.c       | 128 +++++++++++++++++++++++++++++++---
>  src/locking/lockd.conf                |  22 ++++++
>  src/locking/test_libvirt_lockd.aug.in |   1 +
>  6 files changed, 148 insertions(+), 9 deletions(-)
> 


ACK

Michal




More information about the libvir-list mailing list