mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
md/raid5: round discard alignment up to power of 2.
blkdev_issue_discard currently assumes that the granularity is a power of 2. So in raid5, round the chosen number up to avoid embarrassment. Cc: Shaohua Li <shli@kernel.org> Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
5eff3c439d
commit
4ac6875eeb
1 changed files with 4 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue