Hi Song, As discussed in first version[1], I've done following: - errors handler for RAID0 and linear added - raid5 bug described - MD_BROKEN described - removed MD_BROKEN check for superblock update. [1] https://lore.kernel.org/linux-raid/20210917153452.5593-1-mariusz.tkaczyk@xxxxxxxxxxxxxxx/ Mariusz Tkaczyk (3): raid0, linear, md: add error_handlers for raid0 and linear md: Set MD_BROKEN for RAID1 and RAID10 raid5: introduce MD_BROKEN drivers/md/md-linear.c | 15 ++++++++++++++- drivers/md/md.c | 23 +++++++++++++++-------- drivers/md/md.h | 14 ++++---------- drivers/md/raid0.c | 15 ++++++++++++++- drivers/md/raid1.c | 1 + drivers/md/raid10.c | 1 + drivers/md/raid5.c | 34 ++++++++++++++++------------------ 7 files changed, 65 insertions(+), 38 deletions(-) -- 2.26.2