diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2018-06-29 04:00:14 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2018-07-02 23:14:02 +0300 |
commit | d284f8248c72d0cb36a930920e60592eb455cd0d (patch) | |
tree | 870a2d83e41eb2a2acd8f09b8e19db580a3af368 /Documentation/device-mapper | |
parent | 021c91791a5e7e85c567452f1be3e4c2c6cb6063 (diff) | |
download | linux-d284f8248c72d0cb36a930920e60592eb455cd0d.tar.xz |
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 |