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

md/raid5: write errors should be recorded as bad blocks if possible.



When a write error is detected, don't mark the device as failed
immediately but rather record the fact for handle_stripe to deal with.

Handle_stripe then attempts to record a bad block.  Only if that fails
does the device get marked as faulty.

Signed-off-by: default avatarNeilBrown <neilb@suse.de>
parent 7f0da59b
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