From: Joe Thornber Date: Mon, 24 Nov 2014 14:05:16 +0000 (+0000) Subject: dm cache: fix some issues with the new discard range support X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~22^2~10 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2572629a1318eb9e13e70fa59756d7bcfb80319e;p=pandora-kernel.git dm cache: fix some issues with the new discard range support Commit 7ae34e777 ("dm cache: improve discard support") needed to also: - discontinue having DM core split the discard bios on cache block boundaries - calculate the cache's discard_nr_blocks relative to the determined discard_block_size rather than using oblock_to_dblock() Signed-off-by: Joe Thornber Signed-off-by: Mike Snitzer --- Reading git-diff-tree failed