From: Mike Snitzer Date: Thu, 12 Aug 2010 03:14:10 +0000 (+0100) Subject: dm: factor out max_io_len_target_boundary X-Git-Tag: v2.6.36-rc1~51^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56a67df766039666f61fb15b079f713e44a735ae;p=pandora-kernel.git dm: factor out max_io_len_target_boundary Split max_io_len_target_boundary out of max_io_len so that the discard support can make use of it without duplicating max_io_len code. Avoiding max_io_len's split_io logic enables DM's discard support to submit the entire discard request to a target. But discards must still be split on target boundaries. Signed-off-by: Mike Snitzer Signed-off-by: Alasdair G Kergon --- Reading git-diff-tree failed