diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2018-06-29 03:00:14 +0200 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2018-07-02 22:14:02 +0200 |
commit | d284f8248c72d0cb36a930920e60592eb455cd0d (patch) | |
tree | 870a2d83e41eb2a2acd8f09b8e19db580a3af368 /Documentation/device-mapper | |
parent | Linux 4.18-rc3 (diff) | |
download | linux-d284f8248c72d0cb36a930920e60592eb455cd0d.tar.xz linux-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.txt | 2 |
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 |