summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2019-10-24 10:02:34 -0500
committerDavid Teigland <teigland@redhat.com>2019-10-24 10:26:28 -0500
commitf53cce1804236e69b0ec99f490f0c2d2d001cf5d (patch)
tree8dccd422f27ee4904f58a511309871678bf06c73
parente298a87f71927987c2c324e2a53e1b4cd840f186 (diff)
downloadlvm2-f53cce1804236e69b0ec99f490f0c2d2d001cf5d.tar.gz
config: allow_mixed_block_sizes set default to 1
to use the old behavior by default, which allows using mixed block sizes. The user will need to set it to 0 in lvm.conf to turn on the new restrictions.
-rw-r--r--lib/config/config_settings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/config/config_settings.h b/lib/config/config_settings.h
index 7981d5d6f..498ec23d6 100644
--- a/lib/config/config_settings.h
+++ b/lib/config/config_settings.h
@@ -470,7 +470,7 @@ cfg(devices_allow_changes_with_duplicate_pvs_CFG, "allow_changes_with_duplicate_
"Enabling this setting allows the VG to be used as usual even with\n"
"uncertain devices.\n")
-cfg(devices_allow_mixed_block_sizes_CFG, "allow_mixed_block_sizes", devices_CFG_SECTION, 0, CFG_TYPE_BOOL, 0, vsn(2, 3, 6), NULL, 0, NULL,
+cfg(devices_allow_mixed_block_sizes_CFG, "allow_mixed_block_sizes", devices_CFG_SECTION, 0, CFG_TYPE_BOOL, 1, vsn(2, 3, 6), NULL, 0, NULL,
"Allow PVs in the same VG with different logical block sizes.\n"
"When allowed, the user is responsible to ensure that an LV is\n"
"using PVs with matching block sizes when necessary.\n")