[PATCH 0/2] Use MD_BROKEN for redundant arrays
From: Mariusz Tkaczyk
Date: Fri Sep 17 2021 - 11:21:28 EST
Hi Song,
This patchset adds usage of MD_BROKEN for each redundant level.
This should simplify IO failure stack when md device is failed and
fixes raid456 bug.
Mariusz Tkaczyk (2):
md: Set MD_BROKEN for RAID1 and RAID10
raid5: introduce MD_BROKEN
drivers/md/md.c | 16 ++++++++++------
drivers/md/md.h | 4 ++--
drivers/md/raid1.c | 1 +
drivers/md/raid10.c | 1 +
drivers/md/raid5.c | 34 ++++++++++++++++------------------
5 files changed, 30 insertions(+), 26 deletions(-)
--
2.26.2