Modify read error handle for RAID-4,5,6.
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | md/raid456: When readed error and raid was degraded,it try to set badsector, not ejecting the rdev.drivers/ | +8 | 0 replies | |
| 2/2 | md/raid456:Add interface for contorling eject rdev when re-write failed.drivers/ drivers/ drivers/ | +49 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Modify read error handle for RAID-4,5,6.
When RAID-4,5,6 degraded and met read-error, it will eject the rdev.And then the RAID will fail and lost data.Because the function of set-badsector,when this occur,it will set-badsector,not ejecting the rdev.
When RAID-4,5,6 met read-error, it will re-write if RAID was not degrade.But if re-write error,it will eject the rdev and RAID will degrade and it will take too long time for recoverying.So I add judgement for controling how may re-write-error can eject the rdev.
I do those for flexible controling the read-error for different situation.
majianpeng (2):
md/raid456: When readed error and raid was degraded,it try to
set badsector, not ejecting the rdev.
md/raid456:Add interface for contorling eject rdev when re-write
failed.
drivers/md/md.c | 35 +++++++++++++++++++++++++++++++++++ drivers/md/md.h | 2 ++ drivers/md/raid5.c | 28 +++++++++++++++++++--------- 3 files changed, 56 insertions(+), 9 deletions(-)
Signature · 5 lines
1.7.5.4 -------------- majianpeng 2012-05-26