Skip to contentSkip to conversation

master - config: keep new setting commented out

PATCH Zdenek Kabelac 1 participant 1 message Jul 28, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=edb5d12463b60b22ba6683cd9e2fd12b07f09fcf
Commit:        edb5d12463b60b22ba6683cd9e2fd12b07f09fcf
Parent:        43f455589377cb5e3b21434a58226a7365fe1d6f
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Thu Jul 28 15:08:11 2016 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Thu Jul 28 15:08:11 2016 +0200

config: keep new setting commented out

---
 conf/example.conf.in         |    3 ++-
 lib/config/config_settings.h |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
conf/example.conf.in +2 -1
index 1dcbf52..4ac09e2 100644
@@ -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.
lib/config/config_settings.h +1 -1
index 8b9932e..1e4b689 100644
@@ -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")