summaryrefslogtreecommitdiff
path: root/Documentation/admin-guide/device-mapper
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2021-06-21 05:22:21 -0400
committerMike Snitzer <snitzer@redhat.com>2021-06-25 15:25:21 -0400
commit611c3e168b1c5b6cf81e6deb8f6b4eb83f6b53fd (patch)
tree0cd47db943f892db1caa04512e9987af82284653 /Documentation/admin-guide/device-mapper
parentcd039afa0ad86e1f01921cc5abf7f80d2449543a (diff)
dm writecache: add optional "metadata_only" parameter
Add a "metadata_only" parameter that when present: only metadata is promoted to the cache. This option improves performance for heavier REQ_META workloads (e.g. device-mapper-test-suite's "git clone and checkout" benchmark improves from 341s to 312s). Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'Documentation/admin-guide/device-mapper')
-rw-r--r--Documentation/admin-guide/device-mapper/writecache.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/admin-guide/device-mapper/writecache.rst b/Documentation/admin-guide/device-mapper/writecache.rst
index c181f26af769..977f82b5a811 100644
--- a/Documentation/admin-guide/device-mapper/writecache.rst
+++ b/Documentation/admin-guide/device-mapper/writecache.rst
@@ -68,6 +68,9 @@ Constructor parameters:
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.
+ metadata_only
+ only metadata is promoted to the cache. This option
+ improves performance for heavier REQ_META workloads.
Status:
1. error indicator - 0 if there was no error, otherwise error number