From: NeilBrown Date: Mon, 19 Nov 2012 02:11:26 +0000 (+1100) Subject: md/raid5: round discard alignment up to power of 2. X-Git-Tag: v3.7-rc7~8^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ac6875eeb97a49bad7bc8d56b5ec935904fc6e7;p=pandora-kernel.git 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 Signed-off-by: NeilBrown --- Reading git-diff-tree failed