From: Mikulas Patocka Date: Fri, 27 Jul 2012 14:08:03 +0000 (+0100) Subject: dm thin: split discards on block boundary X-Git-Tag: v3.6-rc1~56^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4929630901100fdbfa19186ecf5ea2706f57719b;p=pandora-kernel.git dm thin: split discards on block boundary This patch sets the variable "ti->split_discard_requests" for the dm thin target so that device mapper core splits discard requests on a block boundary. Consequently, a discard request that spans multiple blocks is never sent to dm-thin. The patch also removes some code in process_discard that deals with discards that span multiple blocks. Signed-off-by: Mikulas Patocka Signed-off-by: Mike Snitzer Signed-off-by: Alasdair G Kergon --- Reading git-diff-tree failed