commit | d284f8248c72d0cb36a930920e60592eb455cd0d | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Thu Jun 28 21:00:14 2018 -0400 |
committer | Mike Snitzer <snitzer@redhat.com> | Mon Jul 02 16:14:02 2018 -0400 |
tree | 870a2d83e41eb2a2acd8f09b8e19db580a3af368 | |
parent | 021c91791a5e7e85c567452f1be3e4c2c6cb6063 [diff] |
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>