]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 8 Oct 2017 08:11:21 +0000 (10:11 +0200)
commitd0bd573a6543d6f984c19158ce78653aa1f36240
treee99348a01037d9d030de3fc2f41023dc902be353
parent75a12b2fa80c2e4cc40a9f9305f95899850b7426
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