Blame SOURCES/lvm2-enable-lvmetad-by-default.patch

191583
 conf/example.conf.in         | 2 +-
191583
 lib/config/config_settings.h | 2 +-
191583
 2 files changed, 2 insertions(+), 2 deletions(-)
191583
191583
diff --git a/conf/example.conf.in b/conf/example.conf.in
5f1a1f
index d1a1397..812b747 100644
191583
--- a/conf/example.conf.in
191583
+++ b/conf/example.conf.in
5f1a1f
@@ -730,7 +730,7 @@ global {
191583
     # is set at the same time, LVM always issues a warning message about this
5f1a1f
     # and then it automatically disables use_lvmetad.
5f1a1f
 
191583
-    use_lvmetad = 0
191583
+    use_lvmetad = 1
191583
 
191583
     # Full path of the utility called to check that a thin metadata device
191583
     # is in a state that allows it to be used.
191583
diff --git a/lib/config/config_settings.h b/lib/config/config_settings.h
5f1a1f
index e944b81..7b5beff 100644
191583
--- a/lib/config/config_settings.h
191583
+++ b/lib/config/config_settings.h
5f1a1f
@@ -177,7 +177,7 @@ cfg(global_mirror_segtype_default_CFG, "mirror_segtype_default", global_CFG_SECT
191583
 cfg(global_raid10_segtype_default_CFG, "raid10_segtype_default", global_CFG_SECTION, 0, CFG_TYPE_STRING, DEFAULT_RAID10_SEGTYPE, vsn(2, 2, 99), NULL)
5f1a1f
 cfg(global_sparse_segtype_default_CFG, "sparse_segtype_default", global_CFG_SECTION, 0, CFG_TYPE_STRING, DEFAULT_SPARSE_SEGTYPE, vsn(2, 2, 112), NULL)
5f1a1f
 cfg(global_lvdisplay_shows_full_device_path_CFG, "lvdisplay_shows_full_device_path", global_CFG_SECTION, CFG_PROFILABLE, CFG_TYPE_BOOL, DEFAULT_LVDISPLAY_SHOWS_FULL_DEVICE_PATH, vsn(2, 2, 89), NULL)
191583
-cfg(global_use_lvmetad_CFG, "use_lvmetad", global_CFG_SECTION, 0, CFG_TYPE_BOOL, 0, vsn(2, 2, 93), NULL)
191583
+cfg(global_use_lvmetad_CFG, "use_lvmetad", global_CFG_SECTION, 0, CFG_TYPE_BOOL, 1, vsn(2, 2, 93), NULL)
191583
 cfg(global_thin_check_executable_CFG, "thin_check_executable", global_CFG_SECTION, CFG_ALLOW_EMPTY, CFG_TYPE_STRING, THIN_CHECK_CMD, vsn(2, 2, 94), NULL)
191583
 cfg_array(global_thin_check_options_CFG, "thin_check_options", global_CFG_SECTION, 0, CFG_TYPE_STRING, "#S" DEFAULT_THIN_CHECK_OPTIONS, vsn(2, 2, 96), NULL)
5f1a1f
 cfg_array(global_thin_disabled_features_CFG, "thin_disabled_features", global_CFG_SECTION, CFG_ALLOW_EMPTY, CFG_TYPE_STRING, NULL, vsn(2, 2, 99), NULL)