md/raid5: round discard alignment up to power of 2.
authorNeilBrown <neilb@suse.de>
Mon, 19 Nov 2012 02:11:26 +0000 (13:11 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 20 Nov 2012 08:42:56 +0000 (19:42 +1100)
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>

No differences found