[lvm-devel] [PATCH v1 2/4] tests: Specify global locking 'sanlock' for lvmlockd
Leo Yan
leo.yan at linaro.org
Thu Jun 25 09:15:17 UTC 2020
For sanlock locking scheme testing, it's good to specify the global
locking type option '-g sanlock' for lvmlockd.
Signed-off-by: Leo Yan <leo.yan at linaro.org>
---
test/lib/aux.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/lib/aux.sh b/test/lib/aux.sh
index 17e7935ee..214662f6e 100644
--- a/test/lib/aux.sh
+++ b/test/lib/aux.sh
@@ -128,7 +128,7 @@ prepare_lvmlockd() {
if test -n "$LVM_TEST_LOCK_TYPE_SANLOCK"; then
# make check_lvmlockd_sanlock
echo "starting lvmlockd for sanlock"
- lvmlockd -o 2
+ lvmlockd -o 2 -g sanlock
elif test -n "$LVM_TEST_LOCK_TYPE_DLM"; then
# make check_lvmlockd_dlm
--
2.17.1
More information about the lvm-devel
mailing list