Reload cache target only when lvm2 reload table with
cache with clearer policy.
Version 2.03.06 -
================================
+ Reload cleanered cache DM only with cleaner policy.
Fix cmd return when zering of cachevol fails.
Extend lvs to show all VDO properties.
Preserve VDO write policy with vdopool.
* TODO: add check if extra suspend resume is necessary
* ATM this is workaround for missing cache sync when cache gets clean
*/
- if (1) {
+ if (cleaner_policy) {
if (!lv_refresh_suspend_resume(lock_lv))
return_0;