diff options
author | Joe Thornber <ejt@redhat.com> | 2014-11-24 14:05:16 +0000 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2014-12-01 11:30:09 -0500 |
commit | 2572629a1318eb9e13e70fa59756d7bcfb80319e (patch) | |
tree | 7162438bb121f9e4c101425d36c246ce3cb5e935 /drivers/mfd/as3711.c | |
parent | 8001e87d0ee98787c46f14f5f4f97aced70f119f (diff) | |
download | linux-2572629a1318eb9e13e70fa59756d7bcfb80319e.tar.gz linux-2572629a1318eb9e13e70fa59756d7bcfb80319e.tar.bz2 linux-2572629a1318eb9e13e70fa59756d7bcfb80319e.zip |
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>
Diffstat (limited to 'drivers/mfd/as3711.c')
0 files changed, 0 insertions, 0 deletions