Allow to use any combination of cache metadata format for policy.
Version 2.02.182 -
==============================
+ Do not pair cache policy and cache metadata format.
Version 2.02.181 - 01 August 2018
=================================
/*
* If policy is unselected, but format 2 is selected, policy smq is enforced.
- * ATM no other then smq & cleaner policy is allowed to select format 2.
*/
if (!seg->policy_name) {
if (format == CACHE_METADATA_FORMAT_2)
seg->policy_name = "smq";
- } else if (strcmp(seg->policy_name, "smq") &&
- strcmp(seg->policy_name, "cleaner")) {
- seg->cache_metadata_format = CACHE_METADATA_FORMAT_1;
- return 1;
}
/* Check if we need to search for configured cache metadata format */