]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0bdec902e1213f8679396b38af37abd7d3dad127
treeb8eff05bdce7486f714d871436a419e68739dacf
parenta3875e36aeef58caba797e5ceee19dbf9fe17578
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