From fa7fe5cbbe927d13a8b93aba24640ce5d8c11896 Mon Sep 17 00:00:00 2001 From: David Teigland Date: Thu, 8 Dec 2022 16:42:04 -0600 Subject: writecache: support settings metadata_only and pause_writeback Two new settings for tuning dm-writecache. --- man/lvmcache.7_main | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'man') 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 = +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 = +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 . -- cgit v1.2.1