Blame SOURCES/lvm2-build-make-generate.patch

146ac4
 conf/example.conf.in | 59 ++++++++++++++++++++++++++++------------------------
146ac4
 1 file changed, 32 insertions(+), 27 deletions(-)
146ac4
146ac4
diff --git a/conf/example.conf.in b/conf/example.conf.in
146ac4
index 0c2d378..a54dc62 100644
146ac4
--- a/conf/example.conf.in
146ac4
+++ b/conf/example.conf.in
146ac4
@@ -490,10 +490,19 @@ allocation {
146ac4
 	# This configuration option has an automatic default value.
146ac4
 	# vdo_use_deduplication = 1
146ac4
 
146ac4
-	# Configuration option allocation/vdo_emulate_512_sectors.
146ac4
-	# Specifies that the VDO volume is to emulate a 512 byte block device.
146ac4
+	# Configuration option allocation/vdo_use_metadata_hints.
146ac4
+	# Enables or disables whether VDO volume should tag its latency-critical
146ac4
+	# writes with the REQ_SYNC flag. Some device mapper targets such as dm-raid5
146ac4
+	# process writes with this flag at a higher priority.
146ac4
+	# Default is enabled.
146ac4
 	# This configuration option has an automatic default value.
146ac4
-	# vdo_emulate_512_sectors = 0
146ac4
+	# vdo_use_metadata_hints = 1
146ac4
+
146ac4
+	# Configuration option allocation/vdo_minimum_io_size.
146ac4
+	# The minimum IO size for VDO volume to accept, in bytes.
146ac4
+	# Valid values are 512 or 4096. The recommended and default value is 4096.
146ac4
+	# This configuration option has an automatic default value.
146ac4
+	# vdo_minimum_io_size = 4096
146ac4
 
146ac4
 	# Configuration option allocation/vdo_block_map_cache_size_mb.
146ac4
 	# Specifies the amount of memory in MiB allocated for caching block map
146ac4
@@ -504,10 +513,10 @@ allocation {
146ac4
 	# vdo_block_map_cache_size_mb = 128
146ac4
 
146ac4
 	# Configuration option allocation/vdo_block_map_period.
146ac4
-	# Tunes the quantity of block map updates that can accumulate
146ac4
-	# before cache pages are flushed to disk. The value must be
146ac4
-	# at least 1 and less then 16380.
146ac4
-	# A lower value means shorter recovery time but lower performance.
146ac4
+	# The speed with which the block map cache writes out modified block map pages.
146ac4
+	# A smaller era length is likely to reduce the amount time spent rebuilding,
146ac4
+	# at the cost of increased block map writes during normal operation.
146ac4
+	# The maximum and recommended value is 16380; the minimum value is 1.
146ac4
 	# This configuration option has an automatic default value.
146ac4
 	# vdo_block_map_period = 16380
146ac4
 
146ac4
@@ -527,22 +536,6 @@ allocation {
146ac4
 	# This configuration option has an automatic default value.
146ac4
 	# vdo_index_memory_size_mb = 256
146ac4
 
146ac4
-	# Configuration option allocation/vdo_use_read_cache.
146ac4
-	# Enables or disables the read cache within the VDO volume.
146ac4
-	# The cache should be enabled if write workloads are expected
146ac4
-	# to have high levels of deduplication, or for read intensive
146ac4
-	# workloads of highly compressible data.
146ac4
-	# This configuration option has an automatic default value.
146ac4
-	# vdo_use_read_cache = 0
146ac4
-
146ac4
-	# Configuration option allocation/vdo_read_cache_size_mb.
146ac4
-	# Specifies the extra VDO volume read cache size in MiB.
146ac4
-	# This space is in addition to a system-defined minimum.
146ac4
-	# The value must be less then 16TiB and 1.12 MiB of memory
146ac4
-	# will be used per MiB of read cache specified, per bio thread.
146ac4
-	# This configuration option has an automatic default value.
146ac4
-	# vdo_read_cache_size_mb = 0
146ac4
-
146ac4
 	# Configuration option allocation/vdo_slab_size_mb.
146ac4
 	# Specifies the size in MiB of the increment by which a VDO is grown.
146ac4
 	# Using a smaller size constrains the total maximum physical size
146ac4
@@ -551,7 +544,7 @@ allocation {
146ac4
 	# vdo_slab_size_mb = 2048
146ac4
 
146ac4
 	# Configuration option allocation/vdo_ack_threads.
146ac4
-	# Specifies the number of threads to use for acknowledging
146ac4
+	# Specifies the number of threads   to use for acknowledging
146ac4
 	# completion of requested VDO I/O operations.
146ac4
 	# The value must be at in range [0..100].
146ac4
 	# This configuration option has an automatic default value.
146ac4
@@ -618,6 +611,18 @@ allocation {
146ac4
 	#         Data which has not been flushed is not guaranteed to persist in this mode.
146ac4
 	# This configuration option has an automatic default value.
146ac4
 	# vdo_write_policy = "auto"
146ac4
+
146ac4
+	# Configuration option allocation/vdo_max_discard.
146ac4
+	# Specified te maximum size of discard bio accepted, in 4096 byte blocks.
146ac4
+	# I/O requests to a VDO volume are normally split into 4096-byte blocks,
146ac4
+	# and processed up to 2048 at a time. However, discard requests to a VDO volume
146ac4
+	# can be automatically split to a larger size, up to <max discard> 4096-byte blocks
146ac4
+	# in a single bio, and are limited to 1500 at a time.
146ac4
+	# Increasing this value may provide better overall performance, at the cost of
146ac4
+	# increased latency for the individual discard requests.
146ac4
+	# The default and minimum is 1. The maximum is UINT_MAX / 4096.
146ac4
+	# This configuration option has an automatic default value.
146ac4
+	# vdo_max_discard = 1
146ac4
 }
146ac4
 
146ac4
 # Configuration section log.
146ac4
@@ -898,14 +903,14 @@ global {
146ac4
 	mirror_segtype_default = "@DEFAULT_MIRROR_SEGTYPE@"
146ac4
 
146ac4
 	# Configuration option global/support_mirrored_mirror_log.
146ac4
+	# Configuration option global/support_mirrored_mirror_log.
146ac4
 	# Enable mirrored 'mirror' log type for testing.
146ac4
-	#
146ac4
+	# 
146ac4
 	# This type is deprecated to create or convert to but can
146ac4
 	# be enabled to test that activation of existing mirrored
146ac4
 	# logs and conversion to disk/core works.
146ac4
-	#
146ac4
+	# 
146ac4
 	# Not supported for regular operation!
146ac4
-	#
146ac4
 	support_mirrored_mirror_log = 0
146ac4
 
146ac4
 	# Configuration option global/raid10_segtype_default.