dm thin: add pool target flags to control discard
authorJoe Thornber <ejt@redhat.com>
Wed, 28 Mar 2012 17:41:29 +0000 (18:41 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Wed, 28 Mar 2012 17:41:29 +0000 (18:41 +0100)
commit67e2e2b281812b5caf4923a38aadc6b89e34f064
treec04255840de5e70a0aa2880d1f1c8bfe1b2e7817
parent104655fd4dcebd50068ef30253a001da72e3a081
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>
Documentation/device-mapper/thin-provisioning.txt
drivers/md/dm-thin.c