From 80bc87e377cbcc10225e1d2b58d6e84b65b449de Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 17 Aug 2015 17:26:39 +0200 Subject: [PATCH] cache: more comments for new setting --- WHATS_NEW | 1 + lib/config/config_settings.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/WHATS_NEW b/WHATS_NEW index 7508794bb..8e6ca107b 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.128 - =================================== + Allocation setting cache_pool_cachemode is replaced by cache_mode. Don't attempt to close config file that couldn't be opened. Check for valid cache mode in validation of cache segment. Change internal interface handling cache mode and policy. diff --git a/lib/config/config_settings.h b/lib/config/config_settings.h index bdf7e6ca4..399f7482f 100644 --- a/lib/config/config_settings.h +++ b/lib/config/config_settings.h @@ -472,7 +472,8 @@ cfg(allocation_cache_mode_CFG, "cache_mode", allocation_CFG_SECTION, CFG_PROFILA "writethrough - Data blocks are immediately written from\n" "the cache to disk.\n" "writeback - Data blocks are written from the cache back\n" - "to disk after some delay to improve performance.\n") + "to disk after some delay to improve performance.\n" + "This setting replaces allocation/cache_pool_cachemode.\n") cfg(allocation_cache_policy_CFG, "cache_policy", allocation_CFG_SECTION, CFG_PROFILABLE | CFG_DEFAULT_UNDEFINED, CFG_TYPE_STRING, 0, vsn(2, 2, 128), NULL, 0, NULL, "The default cache policy used for new cache volume.\n"