dm cache: revert "prevent corruption caused by discard_block_size > cache_block_size"
authorJoe Thornber <ejt@redhat.com>
Thu, 6 Nov 2014 14:38:01 +0000 (14:38 +0000)
committerMike Snitzer <snitzer@redhat.com>
Mon, 10 Nov 2014 20:25:30 +0000 (15:25 -0500)
commit08b184514f65d160ce66381dafca5962e3d8f785
treef33736579d5c7401524f4deb9af1d3c31cd48ad3
parent1bad9bc4ee899a108499e5eac6baafff018b4d0b
dm cache: revert "prevent corruption caused by discard_block_size > cache_block_size"

This reverts commit d132cc6d9e92424bb9d4fd35f5bd0e55d583f4be 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-target.c