From: Mike Snitzer Date: Thu, 12 Aug 2010 03:14:08 +0000 (+0100) Subject: dm: linear support discard X-Git-Tag: v2.6.36-rc1~51^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ae89a8720c28caf35c4e53711d77df2856c404e;p=pandora-kernel.git dm: linear support discard Allow discards to be passed through to linear mappings if at least one underlying device supports it. Discards will be forwarded only to devices that support them. A target that supports discards should set num_discard_requests to indicate how many times each discard request must be submitted to it. Verify table's underlying devices support discards prior to setting the associated DM device as capable of discards (via QUEUE_FLAG_DISCARD). Signed-off-by: Mike Snitzer Signed-off-by: Mikulas Patocka Reviewed-by: Joe Thornber Signed-off-by: Alasdair G Kergon --- Reading git-diff-tree failed