From edb5d12463b60b22ba6683cd9e2fd12b07f09fcf Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 28 Jul 2016 15:08:11 +0200 Subject: [PATCH] config: keep new setting commented out --- conf/example.conf.in | 3 ++- lib/config/config_settings.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/conf/example.conf.in b/conf/example.conf.in index 1dcbf5253..4ac09e2dc 100644 --- a/conf/example.conf.in +++ b/conf/example.conf.in @@ -381,7 +381,8 @@ allocation { # Stripe across all PVs when RAID stripes are not specified. # If enabled, all PVs in the VG or on the command line are used for raid0/4/5/6/10 # when the command does not specify the number of stripes to use. - raid_stripe_all_devices = 0 + # This configuration option has an automatic default value. + # raid_stripe_all_devices = 0 # Configuration option allocation/cache_pool_metadata_require_separate_pvs. # Cache pool metadata and data will always use different PVs. diff --git a/lib/config/config_settings.h b/lib/config/config_settings.h index 8b9932e8c..1e4b68927 100644 --- a/lib/config/config_settings.h +++ b/lib/config/config_settings.h @@ -461,7 +461,7 @@ cfg(allocation_mirror_logs_require_separate_pvs_CFG, "mirror_logs_require_separa "Mirror logs and images will always use different PVs.\n" "The default setting changed in version 2.02.85.\n") -cfg(allocation_raid_stripe_all_devices_CFG, "raid_stripe_all_devices", allocation_CFG_SECTION, 0, CFG_TYPE_BOOL, DEFAULT_ALLOCATION_STRIPE_ALL_DEVICES, vsn(2, 2, 162), NULL, 0, NULL, +cfg(allocation_raid_stripe_all_devices_CFG, "raid_stripe_all_devices", allocation_CFG_SECTION, CFG_DEFAULT_COMMENTED, CFG_TYPE_BOOL, DEFAULT_ALLOCATION_STRIPE_ALL_DEVICES, vsn(2, 2, 162), NULL, 0, NULL, "Stripe across all PVs when RAID stripes are not specified.\n" "If enabled, all PVs in the VG or on the command line are used for raid0/4/5/6/10\n" "when the command does not specify the number of stripes to use.\n")