diff options
author | Joe Thornber <ejt@redhat.com> | 2012-03-28 19:41:29 +0200 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2012-03-28 19:41:29 +0200 |
commit | 67e2e2b281812b5caf4923a38aadc6b89e34f064 (patch) | |
tree | c04255840de5e70a0aa2880d1f1c8bfe1b2e7817 /Documentation/device-mapper/thin-provisioning.txt | |
parent | dm thin: support discards (diff) | |
download | linux-67e2e2b281812b5caf4923a38aadc6b89e34f064.tar.xz linux-67e2e2b281812b5caf4923a38aadc6b89e34f064.zip |
dm thin: add pool target flags to control discard
Add dm thin target arguments to control discard support.
ignore_discard: Disables discard support
no_discard_passdown: Don't pass discards down to the underlying data
device, but just remove the mapping within the thin provisioning target.
Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'Documentation/device-mapper/thin-provisioning.txt')
-rw-r--r-- | Documentation/device-mapper/thin-provisioning.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/device-mapper/thin-provisioning.txt b/Documentation/device-mapper/thin-provisioning.txt index 310c1201d621..3370bc4d7b98 100644 --- a/Documentation/device-mapper/thin-provisioning.txt +++ b/Documentation/device-mapper/thin-provisioning.txt @@ -223,7 +223,13 @@ i) Constructor <low water mark (blocks)> [<number of feature args> [<arg>]*] Optional feature arguments: - - 'skip_block_zeroing': skips the zeroing of newly-provisioned blocks. + + skip_block_zeroing: Skip the zeroing of newly-provisioned blocks. + + ignore_discard: Disable discard support. + + no_discard_passdown: Don't pass discards down to the underlying + data device, but just remove the mapping. Data block size must be between 64KB (128 sectors) and 1GB (2097152 sectors) inclusive. |