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

Commit 89e5ee2(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