md/raid10: submit bio directly to replacement disk
authorShaohua Li <shli@fb.com>
Thu, 23 Feb 2017 20:26:41 +0000 (12:26 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 8 Oct 2017 08:26:11 +0000 (10:26 +0200)
commit4131c889c27843199874d7f2ba3442190cce2b41
tree376633144454af60ac7f8342bf8ed2d469988a0b
parent5c6712ab4efb6cf60e16719ab6bcaface9cc268c
md/raid10: submit bio directly to replacement disk

[ Upstream commit 6d399783e9d4e9bd44931501948059d24ad96ff8 ]

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: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/md/raid10.c