aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/device-mapper
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2018-06-28 21:00:14 -0400
committerMike Snitzer <snitzer@redhat.com>2018-07-02 16:14:02 -0400
commitd284f8248c72d0cb36a930920e60592eb455cd0d (patch)
tree870a2d83e41eb2a2acd8f09b8e19db580a3af368 /Documentation/device-mapper
parentLinux 4.18-rc3 (diff)
downloadlinux-dev-d284f8248c72d0cb36a930920e60592eb455cd0d.tar.xz
linux-dev-d284f8248c72d0cb36a930920e60592eb455cd0d.zip
dm writecache: support optional offset for start of device
Add an optional parameter "start_sector" to allow the start of the device to be offset by the specified number of 512-byte sectors. The sectors below this offset are not used by the writecache device and are left to be used for disk labels and/or userspace metadata (e.g. lvm). Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'Documentation/device-mapper')
-rw-r--r--Documentation/device-mapper/writecache.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/device-mapper/writecache.txt b/Documentation/device-mapper/writecache.txt
index 4424fa2c67d7..01532b3008ae 100644
--- a/Documentation/device-mapper/writecache.txt
+++ b/Documentation/device-mapper/writecache.txt
@@ -15,6 +15,8 @@ Constructor parameters:
size)
5. the number of optional parameters (the parameters with an argument
count as two)
+ start_sector n (default: 0)
+ offset from the start of cache device in 512-byte sectors
high_watermark n (default: 50)
start writeback when the number of used blocks reach this
watermark