diff options
author | NeilBrown <neilb@suse.de> | 2011-07-28 03:39:22 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-07-28 03:39:22 +0200 |
commit | 7f0da59bdc2f65795a57009d78f7753d3aea1de3 (patch) | |
tree | 4ab3ae7188122657c12dfab61626d96360fb6240 /mm/mm_init.c | |
parent | md/raid5: avoid reading from known bad blocks. (diff) | |
download | linux-7f0da59bdc2f65795a57009d78f7753d3aea1de3.tar.xz linux-7f0da59bdc2f65795a57009d78f7753d3aea1de3.zip |
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: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions