dm table: allow targets to support discards internally
commit4c2593270133708698d4b8cea2dab469479ad13b
authorMike Snitzer <snitzer@redhat.com>
Sun, 29 May 2011 11:52:55 +0000 (29 12:52 +0100)
committerAlasdair G Kergon <agk@redhat.com>
Sun, 29 May 2011 11:52:55 +0000 (29 12:52 +0100)
treef408edef9145b2f9553cbb2142347fc79023c4ff
parent139f37f5e14cd883eee2a8a36289f544b5390a44
dm table: allow targets to support discards internally

Permit a target to support discards regardless of whether or not all its
underlying devices do.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-table.c
include/linux/device-mapper.h