OSDN Git Service

md/raid10: end bio when the device faulty
authorYufen Yu <yuyufen@huawei.com>
Fri, 19 Jul 2019 05:48:47 +0000 (13:48 +0800)
committerSong Liu <songliubraving@fb.com>
Wed, 7 Aug 2019 17:25:02 +0000 (10:25 -0700)
commit7cee6d4e6035603d42acd56d591e624921aa1b14
treeecfb367b0882908aadd09c1b63847055c628fc29
parenteeba6809d8d58908b5ed1b5ceb5fcb09a98a7cad
md/raid10: end bio when the device faulty

Just like raid1, we do not queue write error bio to retry write
and acknowlege badblocks, when the device is faulty.

Signed-off-by: Yufen Yu <yuyufen@huawei.com>
Signed-off-by: Song Liu <songliubraving@fb.com>
drivers/md/raid10.c