From 9b3458d5a945302a68e4f5ed3011f01677411e9b Mon Sep 17 00:00:00 2001 From: David Teigland Date: Wed, 2 Dec 2020 15:29:21 -0600 Subject: [PATCH] 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