From aff69ecf396a858d684cd3e54baea131e229f5a2 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Tue, 3 Jul 2018 11:05:50 +0200 Subject: [PATCH] vdo: component activation of VDO data LV Allow component activation of VDO data LV. --- lib/metadata/metadata-exported.h | 1 + lib/misc/lvm-string.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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; -- 2.43.5