Skip to contentSkip to conversation

main - lvcreate: cachesettings works also with writecache

PATCH Zdenek Kabelac 1 participant 1 message Jan 26, 2022

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=d8dbabb28e674e9f2aac2716b235f27f1d333e1a
Commit:        d8dbabb28e674e9f2aac2716b235f27f1d333e1a
Parent:        a06ccdf44bd385863792baed887303c714da9685
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Tue Jan 18 19:06:21 2022 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Wed Jan 26 15:09:58 2022 +0100

lvcreate: cachesettings works also with writecache

---
 tools/lvcreate.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
tools/lvcreate.c +2 -2
index 0115b3c32..2c519d555 100644
@@ -823,6 +823,7 @@ static int _lvcreate_params(struct cmd_context *cmd,
 	alloc_ARG,\
 	autobackup_ARG,\
 	available_ARG,\
+	cachesettings_ARG,\
 	contiguous_ARG,\
 	devices_ARG,\
 	devicesfile_ARG,\
@@ -846,8 +847,7 @@ static int _lvcreate_params(struct cmd_context *cmd,
 	cachemetadataformat_ARG,\
 	cachemode_ARG,\
 	cachepool_ARG,\
-	cachepolicy_ARG,\
-	cachesettings_ARG
+	cachepolicy_ARG
 
 #define MIRROR_ARGS \
 	corelog_ARG,\