diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2021-06-28 17:53:08 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2021-06-28 20:41:07 +0200 |
commit | 2c6a2b6e86b57aeb96e93618193426ee129b00a6 (patch) | |
tree | 9b3a9b2474d14288df1d260153cbf19bbcc39526 /lib/config/defaults.h | |
parent | 5fcbc3bd7d3473f14e556508fff1b381431c59f0 (diff) | |
download | lvm2-2c6a2b6e86b57aeb96e93618193426ee129b00a6.tar.gz |
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.
Diffstat (limited to 'lib/config/defaults.h')
-rw-r--r-- | lib/config/defaults.h | 3 |
1 files changed, 1 insertions, 2 deletions
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 |