Hi, This patchset optimize write error handling for raid1 and raid10. When the device has been set faulty, error write bio did not need to queue for error handling by raid daemon thread. Yufen Yu (2): md/raid1: end bio when the device faulty md/raid10: end bio when the device faulty drivers/md/raid1.c | 26 ++++++++++++++------------ drivers/md/raid10.c | 26 ++++++++++++++------------ 2 files changed, 28 insertions(+), 24 deletions(-) -- 2.16.2.dirty