Skip to contentSkip to conversation

main - man lvmcache: add writecache cleaner info

PATCH David Teigland 1 participant 1 message Dec 2, 2020

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=9b3458d5a945302a68e4f5ed3011f01677411e9b
Commit:        9b3458d5a945302a68e4f5ed3011f01677411e9b
Parent:        a2affffed558899af563b790eaf5112b8c7e5bd5
Author:        David Teigland <[email protected]>
AuthorDate:    Wed Dec 2 15:29:21 2020 -0600
Committer:     David Teigland <[email protected]>
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(+)
man/lvmcache.7_main +10 -0
index 37d0e3359..85d4d9e34 100644
@@ -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