]> sourceware.org Git - lvm2.git/commitdiff
Revert "config: cache_policy should be cfg_runtime"
authorDavid Teigland <teigland@redhat.com>
Wed, 7 Aug 2019 16:35:45 +0000 (11:35 -0500)
committerDavid Teigland <teigland@redhat.com>
Wed, 7 Aug 2019 16:35:45 +0000 (11:35 -0500)
This reverts commit 29eee32ac2fb3879eea04a8499219106411b4a37.

Some other changes are needed to make this runtime.

lib/config/config_settings.h

index 7034759f1bf69daf43f4855714a67c1ed40d4ff6..2bb72ba7195a409999b3875a7faf2a67cbbb0df2 100644 (file)
@@ -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_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,
+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,
        "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")
This page took 0.037468 seconds and 5 git commands to generate.