]> sourceware.org Git - lvm2.git/commitdiff
vdo: component activation of VDO data LV
authorZdenek Kabelac <zkabelac@redhat.com>
Tue, 3 Jul 2018 09:05:50 +0000 (11:05 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 9 Jul 2018 13:28:35 +0000 (15:28 +0200)
Allow component activation of VDO data LV.

lib/metadata/metadata-exported.h
lib/misc/lvm-string.c

index 4a9f2e01c50e432f7fa335b1f0653630a4306fcb..f5b540a10702ffd46ed68c649bca1e8b66c99a0c 100644 (file)
 #define lv_is_component(lv) (lv_is_cache_origin(lv) || ((lv)->status & (\
        CACHE_POOL_DATA |\
        CACHE_POOL_METADATA |\
+       LV_VDO_POOL_DATA |\
        MIRROR_IMAGE |\
        MIRROR_LOG |\
        RAID_IMAGE |\
index 689a6b514ab0103b5bff60285af7d54118bf932f..901243c602d725f1a6f742b3e5e108e40cddee72 100644 (file)
@@ -162,7 +162,8 @@ static const char *_lvname_has_reserved_component_string(const char *lvname)
                "_rimage",
                "_rmeta",
                "_tdata",
-               "_tmeta"
+               "_tmeta",
+               "_vdata"
        };
        unsigned i;
 
This page took 0.039655 seconds and 5 git commands to generate.