[lvm-devel] master - tests: add lvchange cachemode passthrough in cache-single-options
David Teigland
teigland at sourceware.org
Thu Nov 8 16:09:17 UTC 2018
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=025332edc2c608e5892af373ebb764ac8ec5d8be
Commit: 025332edc2c608e5892af373ebb764ac8ec5d8be
Parent: 8794fb71dbc3db8bebf133e6048bcd6ffdad7568
Author: David Teigland <teigland at redhat.com>
AuthorDate: Thu Nov 8 10:08:38 2018 -0600
Committer: David Teigland <teigland at redhat.com>
CommitterDate: Thu Nov 8 10:08:38 2018 -0600
tests: add lvchange cachemode passthrough in cache-single-options
---
test/shell/cache-single-options.sh | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/test/shell/cache-single-options.sh b/test/shell/cache-single-options.sh
index 62cfeaf..d9e7e01 100644
--- a/test/shell/cache-single-options.sh
+++ b/test/shell/cache-single-options.sh
@@ -236,6 +236,10 @@ lvchange --cachemode writethrough $vg/$lv1
check lv_field $vg/$lv1 cachemode "writethrough"
+lvchange --cachemode passthrough $vg/$lv1
+
+check lv_field $vg/$lv1 cachemode "passthrough"
+
lvchange -an $vg/$lv1
lvchange --cachepolicy mq --cachesettings 'migration_threshold=100' $vg/$lv1
More information about the lvm-devel
mailing list