]> git.ipfire.org Git - thirdparty/libvirt.git/commit
locking: Add io_timeout to sanlock
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 23 Oct 2015 11:21:22 +0000 (13:21 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 18 Nov 2015 09:56:56 +0000 (10:56 +0100)
commitbd3e16a3cf89303c3ec5281c818acce418b75f50
tree9af8ee9399e71a1a9827b67f4065966e197beb2b
parent4ad31f8f650d35fd7d8f0678e142d80fd46f1fb1
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>
m4/virt-sanlock.m4
src/locking/libvirt_sanlock.aug
src/locking/lock_driver_sanlock.c
src/locking/sanlock.conf
src/locking/test_libvirt_sanlock.aug.in