]> git.baikalelectronics.ru Git - kernel.git/commit
md/raid10: submit bio directly to replacement disk
authorShaohua Li <shli@fb.com>
Thu, 23 Feb 2017 20:26:41 +0000 (12:26 -0800)
committerShaohua Li <shli@fb.com>
Thu, 9 Mar 2017 17:01:14 +0000 (09:01 -0800)
commita3d5fc3c56fae140fa9329874d727b501a274084
tree729d60ef731b8f042666df7bf434932dcfec5da9
parent22cecdeee8d50b59467ff70fc7e0e9ecd7d1d1a1
md/raid10: submit bio directly to replacement disk

Commit 2580b2f(md/raid10: submit IO from originating thread instead of
md thread) submits bio directly for normal disks but not for replacement
disks. There is no point we shouldn't do this for replacement disks.

Cc: NeilBrown <neilb@suse.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/raid10.c