Skip to content
Commit 7f0da59b authored by NeilBrown's avatar NeilBrown
Browse files

md/raid5: use bad-block log to improve handling of uncorrectable read errors.



If we get an uncorrectable read error - record a bad block rather than
failing the device.
And if these errors (which may be due to known bad blocks) cause
recovery to be impossible, record a bad block on the recovering
devices, or abort the recovery.

As we might abort a recovery without failing a device we need to teach
RAID5 about recovery_disabled handling.

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent 31c176ec
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment