All of lore.kernel.org
 help / color / mirror / Atom feed
* master - lvmlockd vdo: disallow use of shared lock on LV
@ 2020-09-29 19:43 David Teigland
  0 siblings, 0 replies; only message in thread
From: David Teigland @ 2020-09-29 19:43 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=82e270c18a76d68e2efc28a194bca2e428c18fae
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;
 	}



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-29 19:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-29 19:43 master - lvmlockd vdo: disallow use of shared lock on LV David Teigland

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.