Skip to contentSkip to conversation

master - lvmlockctl: wait by default when stopping

PATCH David Teigland 1 participant 1 message Nov 27, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=d8284beb23f7a81b27e5acb0ecb90d76809df736
Commit:        d8284beb23f7a81b27e5acb0ecb90d76809df736
Parent:        904e1e3d26ccb43c19266e96e67f8c10f93eaaa4
Author:        David Teigland <[email protected]>
AuthorDate:    Tue Nov 27 13:41:33 2018 -0600
Committer:     David Teigland <[email protected]>
CommitterDate: Tue Nov 27 13:41:33 2018 -0600

lvmlockctl: wait by default when stopping

lvmlockctl --stop-lockspaces was by default not waiting for all the lockspaces to be gone.

---
 daemons/lvmlockd/lvmlockctl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
daemons/lvmlockd/lvmlockctl.c +1 -1
index 2442b46..0dfc3e6 100644
@@ -24,7 +24,7 @@
 static int quit = 0;
 static int info = 0;
 static int dump = 0;
-static int wait_opt = 0;
+static int wait_opt = 1;
 static int force_opt = 0;
 static int kill_vg = 0;
 static int drop_vg = 0;