From 2c6a2b6e86b57aeb96e93618193426ee129b00a6 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 28 Jun 2021 17:53:08 +0200 Subject: vdo: support vdo_pool_header_size Add profilable configurable setting for vdo pool header size, that is used as 'extra' empty space at the front and end of vdo-pool device to avoid having a disk in the system the may have same data is real vdo LV. For some conversion cases however we may need to allow using '0' header size. TODO: in this case we may eventually avoid adding 'linear' mapping layer in future - but this requires further modification over lvm code base. --- lib/config/defaults.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/config/defaults.h') diff --git a/lib/config/defaults.h b/lib/config/defaults.h index 2870dee12..d5e5b3b1a 100644 --- a/lib/config/defaults.h +++ b/lib/config/defaults.h @@ -181,8 +181,7 @@ * VDO pool will reverve some sectors in the front and the back of pool device to avoid * seeing same device twice in the system. */ -#define DEFAULT_VDO_POOL_HEADER_SIZE (1024) // 512KiB - +#define DEFAULT_VDO_POOL_HEADER_SIZE_KB (512) #define DEFAULT_FSADM_PATH FSADM_PATH -- cgit v1.2.1