md/raid10: submit bio directly to replacement disk
authorShaohua Li <shli@fb.com>
Thu, 23 Feb 2017 20:26:41 +0000 (12:26 -0800)
committerWilly Tarreau <w@1wt.eu>
Thu, 2 Nov 2017 06:16:19 +0000 (07:16 +0100)
commit634fd953630e9ea59072e0d44c614d8b6446d93c
treea942124096c486cd97a552a4791821a7e1ddf4fd
parent09ab11ebb7c1f9a66507e382aea696338304f83a
md/raid10: submit bio directly to replacement disk

commit 6d399783e9d4e9bd44931501948059d24ad96ff8 upstream.

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>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/md/raid10.c