1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

lvmlockd vdo: disallow use of shared lock on LV

vdo cannot be active on multiple hosts concurrently
This commit is contained in:
David Teigland 2020-09-28 13:48:46 -05:00
parent af8044da3a
commit 82e270c18a

View File

@ -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;
}