+13
−10
+3
−3
+4
−3
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
In MD raid case, discard granularity might not be power of 2, for example, a 4-disk raid5 has 3*chunk_size discard granularity. Correct the calculation for such cases. Reported-by:Neil Brown <neilb@suse.de> Signed-off-by:
Shaohua Li <shli@fusionio.com> Signed-off-by:
Jens Axboe <axboe@kernel.dk>