md/raid10: round up to bdev_logical_block_size in narrow_write_error.
authorNeilBrown <neilb@suse.de>
Mon, 16 Feb 2015 03:51:54 +0000 (14:51 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 16 Feb 2015 03:51:54 +0000 (14:51 +1100)
commitf04ebb0be74283b32f539c7f6b84d5cfcaa0ead3
treeb8eff05bdce7486f714d871436a419e68739dacf
parentab713cdc6f70da62c254c4acf77a0cfcda87b7f5
md/raid10: round up to bdev_logical_block_size in narrow_write_error.

RAID10 version of earlier fix for RAID1.  We must never initiate
IO with sizes less that logical_block_size.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/raid10.c