summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2021-06-28 17:53:08 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2021-06-28 20:41:07 +0200
commit2c6a2b6e86b57aeb96e93618193426ee129b00a6 (patch)
tree9b3a9b2474d14288df1d260153cbf19bbcc39526 /conf
parent5fcbc3bd7d3473f14e556508fff1b381431c59f0 (diff)
downloadlvm2-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 'conf')
-rw-r--r--conf/example.conf.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/example.conf.in b/conf/example.conf.in
index 16b49a495..50cf6f42b 100644
--- a/conf/example.conf.in
+++ b/conf/example.conf.in
@@ -733,6 +733,11 @@ allocation {
# The default and minimum is 1. The maximum is UINT_MAX / 4096.
# This configuration option has an automatic default value.
# vdo_max_discard = 1
+
+ # Configuration option allocation/vdo_pool_header_size.
+ # Specified the emptry header size in KiB at the front and end of vdo pool device.
+ # This configuration option has an automatic default value.
+ # vdo_pool_header_size = 512
}
# Configuration section log.