commit | 2572629a1318eb9e13e70fa59756d7bcfb80319e | [log] [tgz] |
---|---|---|
author | Joe Thornber <ejt@redhat.com> | Mon Nov 24 14:05:16 2014 +0000 |
committer | Mike Snitzer <snitzer@redhat.com> | Mon Dec 01 11:30:09 2014 -0500 |
tree | 7162438bb121f9e4c101425d36c246ce3cb5e935 | |
parent | 8001e87d0ee98787c46f14f5f4f97aced70f119f [diff] |
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 <ejt@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>