summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2022-12-08 16:42:04 -0600
committerDavid Teigland <teigland@redhat.com>2022-12-08 16:53:36 -0600
commitfa7fe5cbbe927d13a8b93aba24640ce5d8c11896 (patch)
treed60e60cc263ffe4357c24bcd0ab71b94a6e46268 /man
parent9ce55a43d0165da9827e7b8e75bf25583a571e89 (diff)
downloadlvm2-fa7fe5cbbe927d13a8b93aba24640ce5d8c11896.tar.gz
writecache: support settings metadata_only and pause_writeback
Two new settings for tuning dm-writecache.
Diffstat (limited to 'man')
-rw-r--r--man/lvmcache.7_main15
1 files changed, 15 insertions, 0 deletions
diff --git a/man/lvmcache.7_main b/man/lvmcache.7_main
index d46c50d04..fdb375083 100644
--- a/man/lvmcache.7_main
+++ b/man/lvmcache.7_main
@@ -340,6 +340,21 @@ 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.
+.
+.TP
+max_age = <milliseconds>
+Specifies the maximum age of a block in milliseconds. If a block is stored in
+the cache for too long, it will be written to the underlying device and cleaned up.
+.
+.TP
+metadata_only = 0|1
+Only metadata is promoted to the cache. This option improves performance for
+heavier REQ_META workloads.
+.
+.TP
+pause_writeback = <milliseconds>
+Pause writeback if there was some write I/O redirected to the origin volume in
+the last number of milliseconds.
.SS dm-writecache using metadata profiles
.