Skip to contentSkip to conversation

main - writecache: supported in dm-writecache version 3

PATCH David Teigland 1 participant 1 message Nov 9, 2020

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=d7058cfa989762ad33f115528d572cda80918cca
Commit:        d7058cfa989762ad33f115528d572cda80918cca
Parent:        8801a86a3e0c87d92b250a6477f86ef9efdb2ba0
Author:        David Teigland <[email protected]>
AuthorDate:    Mon Nov 9 09:47:01 2020 -0600
Committer:     David Teigland <[email protected]>
CommitterDate: Mon Nov 9 09:47:01 2020 -0600

writecache: supported in dm-writecache version 3

not version 2

---
 lib/writecache/writecache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/writecache/writecache.c +1 -1
index 4ecbf50df..2cef9f26e 100644
@@ -255,7 +255,7 @@ static int _target_present(struct cmd_context *cmd,
 			return 0;
 		}
 
-		if (min >= 2) {
+		if (min >= 3) {
 			_writecache_cleaner_supported = 1;
 			_writecache_max_age_supported = 1;
 		}