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)
commit6d399783e9d4e9bd44931501948059d24ad96ff8
tree729d60ef731b8f042666df7bf434932dcfec5da9
parentea6200e84182989a3cce9687cf79a23ac44ec4db
md/raid10: submit bio directly to replacement disk

Commit 57c67df(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