libvirt/src/locking/test_libvirt_sanlock.aug.in
Michal Privoznik bd3e16a3cf locking: Add io_timeout to sanlock
https://bugzilla.redhat.com/show_bug.cgi?id=1251190

So, if domain loses access to storage, sanlock tries to kill it
after some timeout. So far, the default is 80 seconds. But for
some scenarios this might not be enough. We should allow users to
adjust the timeout according to their needs.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2015-11-18 10:56:56 +01:00

12 lines
282 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" }
{ "io_timeout" = "0" }
{ "user" = "root" }
{ "group" = "root" }