dm cache: revert "remove remainder of distinct discard block size"
authorJoe Thornber <ejt@redhat.com>
Fri, 7 Nov 2014 14:47:07 +0000 (14:47 +0000)
committerMike Snitzer <snitzer@redhat.com>
Mon, 10 Nov 2014 20:25:30 +0000 (15:25 -0500)
commit1bad9bc4ee899a108499e5eac6baafff018b4d0b
tree32eb64e78c6d68b65c29b9462bb264c3c69cdf8f
parent5f274d886598c9fd26d2499bf3f68306f170e9db
dm cache: revert "remove remainder of distinct discard block size"

This reverts commit 64ab346a360a4b15c28fb8531918d4a01f4eabd9 because we
actually do want to allow the discard blocksize to be larger than the
cache blocksize.  Further dm-cache discard changes will make this
possible.

Signed-off-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-cache-block-types.h
drivers/md/dm-cache-metadata.c
drivers/md/dm-cache-metadata.h
drivers/md/dm-cache-target.c