Skip to content
Commit 4ac6875e authored by NeilBrown's avatar NeilBrown
Browse files

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: default avatarNeilBrown <neilb@suse.de>
parent 5eff3c43
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment