summaryrefslogtreecommitdiffstats
path: root/Documentation/device-mapper/cache.txt
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2016-09-22 12:15:21 +0200
committerMike Snitzer <snitzer@redhat.com>2017-02-16 19:12:47 +0100
commit629d0a8a1a104187db8fbf966e4cc5cfb6aa9a3c (patch)
treedf900a59355073aca34dd8de83d4ca631428cd6e /Documentation/device-mapper/cache.txt
parentdm cache metadata: use bitset cursor api to load discard bitset (diff)
downloadlinux-629d0a8a1a104187db8fbf966e4cc5cfb6aa9a3c.tar.xz
linux-629d0a8a1a104187db8fbf966e4cc5cfb6aa9a3c.zip
dm cache metadata: add "metadata2" feature
If "metadata2" is provided as a table argument when creating/loading a cache target a more compact metadata format, with separate dirty bits, is used. "metadata2" improves speed of shutting down a cache target. Signed-off-by: Joe Thornber <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'Documentation/device-mapper/cache.txt')
-rw-r--r--Documentation/device-mapper/cache.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/device-mapper/cache.txt b/Documentation/device-mapper/cache.txt
index 785eab87aa71..f228604ddbcd 100644
--- a/Documentation/device-mapper/cache.txt
+++ b/Documentation/device-mapper/cache.txt
@@ -207,6 +207,10 @@ Optional feature arguments are:
block, then the cache block is invalidated.
To enable passthrough mode the cache must be clean.
+ metadata2 : use version 2 of the metadata. This stores the dirty bits
+ in a separate btree, which improves speed of shutting
+ down the cache.
+
A policy called 'default' is always registered. This is an alias for
the policy we currently think is giving best all round performance.