diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-07-20 14:24:17 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-07-20 14:24:17 -0700 |
commit | b4460a9586c381edcec6a702ec8cfc80995063fc (patch) | |
tree | 668350a1554d6c778055f85a04953e5eabcecfd0 /Documentation | |
parent | 18cadf9f370735512eb8254beab77e26297a0e33 (diff) | |
parent | d284f8248c72d0cb36a930920e60592eb455cd0d (diff) | |
download | linux-riscv-b4460a9586c381edcec6a702ec8cfc80995063fc.tar.gz linux-riscv-b4460a9586c381edcec6a702ec8cfc80995063fc.tar.bz2 linux-riscv-b4460a9586c381edcec6a702ec8cfc80995063fc.zip |
Merge tag 'for-4.18/dm-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
Pull device mapper fix from Mike Snitzer:
"Fix DM writecache target to allow an optional offset to the start of
the data and metadata area.
This allows userspace tools (e.g. LVM2) to place a header and metadata
at the front of the writecache device for its use"
* tag 'for-4.18/dm-fixes-2' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
dm writecache: support optional offset for start of device
Diffstat (limited to 'Documentation')
-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 |