From: David Teigland Date: Wed, 2 Dec 2020 21:29:21 +0000 (-0600) Subject: man lvmcache: add writecache cleaner info X-Git-Tag: v2_03_11~9 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=9b3458d5a945302a68e4f5ed3011f01677411e9b;p=lvm2.git man lvmcache: add writecache cleaner info --- 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