[lvm-devel] main - man lvmcache: add writecache cleaner info

David Teigland teigland at sourceware.org
Wed Dec 2 21:30:06 UTC 2020


Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=9b3458d5a945302a68e4f5ed3011f01677411e9b
Commit:        9b3458d5a945302a68e4f5ed3011f01677411e9b
Parent:        a2affffed558899af563b790eaf5112b8c7e5bd5
Author:        David Teigland <teigland at redhat.com>
AuthorDate:    Wed Dec 2 15:29:21 2020 -0600
Committer:     David Teigland <teigland at redhat.com>
CommitterDate: Wed Dec 2 15:29:21 2020 -0600

man lvmcache: add writecache cleaner info

---
 man/lvmcache.7_main | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/man/lvmcache.7_main b/man/lvmcache.7_main
index 37d0e3359..85d4d9e34 100644
--- a/man/lvmcache.7_main
+++ b/man/lvmcache.7_main
@@ -303,6 +303,16 @@ afterwards.  Some underlying devices perform better with fua, some with
 nofua.  Testing is necessary to determine which.
 Applicable only to persistent memory.
 
+.IP \[bu] 2
+cleaner = 0|1
+
+Setting cleaner=1 enables the writecache cleaner mode in which data is
+gradually flushed from the cache.  If this is done prior to detaching the
+writecache, then the splitcache command will have little or no flushing to
+perform.  If not done beforehand, the splitcache command enables the
+cleaner mode and waits for flushing to complete before detaching the
+writecache.  Adding cleaner=0 to the splitcache command will skip the
+cleaner mode, and any required flushing is performed in device suspend.
 
 .SS dm-cache with separate data and metadata LVs
 




More information about the lvm-devel mailing list