On 11.12.2012 21:41, Daniel P. Berrange wrote:
From: "Daniel P. Berrange" <berrange(a)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(a)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