]> git.baikalelectronics.ru Git - kernel.git/commit
dm cache: discard block size must be a multiple of cache block size
authorJoe Thornber <ejt@redhat.com>
Wed, 26 Nov 2014 16:07:50 +0000 (16:07 +0000)
committerMike Snitzer <snitzer@redhat.com>
Mon, 1 Dec 2014 16:30:11 +0000 (11:30 -0500)
commit7f78b93bf484bd4e13dcac7d747c86a660187125
tree071abce53825307314e1531fb81a3b58619600af
parent0685d3ef4802db8feb66e69969be6d355692b573
dm cache: discard block size must be a multiple of cache block size

Otherwise the cache blocks may span two discard blocks, which we don't
handle when doing the discard lookup.

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