mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-02 11:21:12 +00:00
acbd4965c4
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>
9 lines
218 B
Plaintext
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" }
|