main - cache: filter out unsupported policy settings
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=4c3d7a01d4a28c83b7992749c0ae8b7e9c145f3a Commit: 4c3d7a01d4a28c83b7992749c0ae8b7e9c145f3a Parent: 6c4cd7b2f22a86a74f49104926ab96a24755e697 Author: Zdenek Kabelac <[email protected]> AuthorDate: Sun Sep 12 17:41:53 2021 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Mon Sep 13 12:34:41 2021 +0200
cache: filter out unsupported policy settings
Loading invalid MQ/SMQ policy settings table line cause immediate rejection - to prevent such failure, automatically filter valid settins before it is being uploaded by lvm2.
For invalid setting issue a warnning informing user how to remove them.
This solution is used to keep running cached LVs that might had been created in the past with invalid settings that have been actually unused due to another code bug.
--- WHATS_NEW | 1 + lib/cache_segtype/cache.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 60 insertions(+), 1 deletion(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.03.14 - ================================== + Filter out unsupported MQ/SMQ cache policy setting. Fix memleak in mpath filter. Support newer location for VDO statistics. Add support for VDO async-unsage write policy.
lib/cache_segtype/cache.c +59 -1
78 lines not on this page · raw message