libvirt/src/locking/test_libvirt_sanlock.aug.in
Daniel P. Berrange acbd4965c4 Add support for shared sanlock leases
A sanlock lease can be marked as shared (rather
than exclusive)  using SANLK_RES_SHARED flag. This
adds support for that flag and ensures that in auto
disk mode, any shared disks use shared leases. This
also makes any read-only disks be completely
ignored.

These changes remove the need for the option

  ignore_readonly_and_shared_disks

so that is removed

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2012-06-25 10:17:56 +01:00

9 lines
218 B
Plaintext

module Test_libvirt_sanlock =
::CONFIG::
test Libvirt_sanlock.lns get conf =
{ "auto_disk_leases" = "1" }
{ "disk_lease_dir" = "/var/lib/libvirt/sanlock" }
{ "host_id" = "1" }
{ "require_lease_for_disks" = "1" }