From: Zdenek Kabelac Date: Tue, 3 Jul 2018 09:05:50 +0000 (+0200) Subject: vdo: component activation of VDO data LV X-Git-Tag: v2_03_00~87 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=aff69ecf396a858d684cd3e54baea131e229f5a2;p=lvm2.git vdo: component activation of VDO data LV Allow component activation of VDO data LV. --- diff --git a/lib/metadata/metadata-exported.h b/lib/metadata/metadata-exported.h index 4a9f2e01c..f5b540a10 100644 --- a/lib/metadata/metadata-exported.h +++ b/lib/metadata/metadata-exported.h @@ -267,6 +267,7 @@ #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 |\ diff --git a/lib/misc/lvm-string.c b/lib/misc/lvm-string.c index 689a6b514..901243c60 100644 --- a/lib/misc/lvm-string.c +++ b/lib/misc/lvm-string.c @@ -162,7 +162,8 @@ static const char *_lvname_has_reserved_component_string(const char *lvname) "_rimage", "_rmeta", "_tdata", - "_tmeta" + "_tmeta", + "_vdata" }; unsigned i;