From 463c86008ba9cbadedc42b022bd5e5247b774513 Mon Sep 17 00:00:00 2001 From: David Teigland Date: Fri, 15 May 2015 14:24:23 -0500 Subject: [PATCH] config: remove UNDEFINED from cache_pool_cachemode Replace UNDEFINED with COMMENTED because the code requires a value to be returned from the config. --- lib/config/config_settings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/config/config_settings.h b/lib/config/config_settings.h index d7404acb4..a06b3e669 100644 --- a/lib/config/config_settings.h +++ b/lib/config/config_settings.h @@ -460,7 +460,7 @@ cfg(allocation_mirror_logs_require_separate_pvs_CFG, "mirror_logs_require_separa cfg(allocation_cache_pool_metadata_require_separate_pvs_CFG, "cache_pool_metadata_require_separate_pvs", allocation_CFG_SECTION, 0, CFG_TYPE_BOOL, DEFAULT_CACHE_POOL_METADATA_REQUIRE_SEPARATE_PVS, vsn(2, 2, 106), NULL, 0, NULL, "Cache pool metadata and data will always use different PVs.\n") -cfg(allocation_cache_pool_cachemode_CFG, "cache_pool_cachemode", allocation_CFG_SECTION, CFG_DEFAULT_UNDEFINED, CFG_TYPE_STRING, DEFAULT_CACHE_POOL_CACHEMODE, vsn(2, 2, 113), NULL, 0, NULL, +cfg(allocation_cache_pool_cachemode_CFG, "cache_pool_cachemode", allocation_CFG_SECTION, CFG_DEFAULT_COMMENTED, CFG_TYPE_STRING, DEFAULT_CACHE_POOL_CACHEMODE, vsn(2, 2, 113), NULL, 0, NULL, "The default cache mode used for new cache pools.\n" "Possible options are: writethrough, writeback.\n" "writethrough - Data blocks are immediately written from\n"