Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=82e270c18a76d68e2efc28... Commit: 82e270c18a76d68e2efc28a194bca2e428c18fae Parent: af8044da3ab6891495f4d96b51a52bc4ae457ffb Author: David Teigland teigland@redhat.com AuthorDate: Mon Sep 28 13:48:46 2020 -0500 Committer: David Teigland teigland@redhat.com CommitterDate: Tue Sep 29 14:43:26 2020 -0500
lvmlockd vdo: disallow use of shared lock on LV
vdo cannot be active on multiple hosts concurrently --- lib/locking/lvmlockd.c | 1 + 1 file changed, 1 insertion(+)
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; }
lvm2-commits@lists.fedorahosted.org