stable-2.02 - config: allow_mixed_block_sizes set default to 1
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=f53cce1804236e69b0ec99f490f0c2d2d001cf5d Commit: f53cce1804236e69b0ec99f490f0c2d2d001cf5d Parent: e298a87f71927987c2c324e2a53e1b4cd840f186 Author: David Teigland <[email protected]> AuthorDate: Thu Oct 24 10:02:34 2019 -0500 Committer: David Teigland <[email protected]> CommitterDate: Thu Oct 24 10:26:28 2019 -0500
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.
--- lib/config/config_settings.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
lib/config/config_settings.h +1 -1
@@ -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" )