diff options
author | David Teigland <teigland@redhat.com> | 2020-09-28 13:48:46 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2020-09-29 14:43:26 -0500 |
commit | 82e270c18a76d68e2efc28a194bca2e428c18fae (patch) | |
tree | a94a53883b2d772137fd9ea5991a43b3cb03afc8 | |
parent | af8044da3ab6891495f4d96b51a52bc4ae457ffb (diff) | |
download | lvm2-82e270c18a76d68e2efc28a194bca2e428c18fae.tar.gz |
lvmlockd vdo: disallow use of shared lock on LV
vdo cannot be active on multiple hosts concurrently
-rw-r--r-- | lib/locking/lvmlockd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/locking/lvmlockd.c b/lib/locking/lvmlockd.c index dca7954ab..9d11077e3 100644 --- a/lib/locking/lvmlockd.c +++ b/lib/locking/lvmlockd.c @@ -2374,6 +2374,7 @@ int lockd_lv(struct cmd_context *cmd, struct logical_volume *lv, lv_is_thin_type(lv) || lv_is_mirror_type(lv) || lv_is_raid_type(lv) || + lv_is_vdo_type(lv) || lv_is_cache_type(lv)) { flags |= LDLV_MODE_NO_SH; } |