From: David Teigland Date: Mon, 5 Aug 2019 18:44:37 +0000 (-0500) Subject: config: cache_policy should be cfg_runtime X-Git-Tag: v2_03_06~194 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=29eee32ac2fb3879eea04a8499219106411b4a37;p=lvm2.git config: cache_policy should be cfg_runtime --- diff --git a/lib/config/config_settings.h b/lib/config/config_settings.h index 2bb72ba71..7034759f1 100644 --- a/lib/config/config_settings.h +++ b/lib/config/config_settings.h @@ -596,7 +596,7 @@ cfg(allocation_cache_mode_CFG, "cache_mode", allocation_CFG_SECTION, CFG_PROFILA "#\n" "This setting replaces allocation/cache_pool_cachemode.\n") -cfg(allocation_cache_policy_CFG, "cache_policy", allocation_CFG_SECTION, CFG_PROFILABLE | CFG_PROFILABLE_METADATA | CFG_DEFAULT_UNDEFINED, CFG_TYPE_STRING, 0, vsn(2, 2, 128), NULL, 0, NULL, +cfg_runtime(allocation_cache_policy_CFG, "cache_policy", allocation_CFG_SECTION, CFG_PROFILABLE | CFG_PROFILABLE_METADATA | CFG_DEFAULT_UNDEFINED, CFG_TYPE_STRING, 0, vsn(2, 2, 128), NULL, 0, NULL, "The default cache policy used for new cache volume.\n" "Since kernel 4.2 the default policy is smq (Stochastic multiqueue),\n" "otherwise the older mq (Multiqueue) policy is selected.\n")