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:
parent
af8044da3a
commit
82e270c18a
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user