summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2009-07-24 23:28:55 +0000
committerAlasdair Kergon <agk@redhat.com>2009-07-24 23:28:55 +0000
commit78af10f81be0325f180240043e8aa29ba743349d (patch)
tree63c37495433842f0a61756b1defb582b51ad539f /doc
parent025ac59005a31470aa022edae80054349a693dd6 (diff)
downloadlvm2-78af10f81be0325f180240043e8aa29ba743349d.tar.gz
Add global/wait_for_locks to lvm.conf so blocking on locks can be disabled.
Diffstat (limited to 'doc')
-rw-r--r--doc/example.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/example.conf b/doc/example.conf
index 0682415a1..9791b1671 100644
--- a/doc/example.conf
+++ b/doc/example.conf
@@ -247,6 +247,9 @@ global {
# Type 3 uses built-in clustered locking.
locking_type = 1
+ # Set to 0 to fail when a lock request cannot be satisfied immediately.
+ wait_for_locks = 1
+
# If using external locking (type 2) and initialisation fails,
# with this set to 1 an attempt will be made to use the built-in
# clustered locking.