]> sourceware.org Git - lvm2.git/commitdiff
lvmlockd vdo: disallow use of shared lock on LV
authorDavid Teigland <teigland@redhat.com>
Mon, 28 Sep 2020 18:48:46 +0000 (13:48 -0500)
committerDavid Teigland <teigland@redhat.com>
Tue, 29 Sep 2020 19:43:26 +0000 (14:43 -0500)
vdo cannot be active on multiple hosts concurrently

lib/locking/lvmlockd.c

index dca7954abfe41d09e5a20cb5c136437aaa19416f..9d11077e397a06c2a5f3c5188f8d82adb3dd56ed 100644 (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;
        }
This page took 2.298491 seconds and 5 git commands to generate.