diff options
author | NeilBrown <neilb@suse.de> | 2011-07-28 11:39:25 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-07-28 11:39:25 +1000 |
commit | f84ee364dd15af11cada1e673f94128f62db189e (patch) | |
tree | e57fc87130b8bb6958413f39ae51718977540152 /drivers/rtc/rtc-rp5c01.c | |
parent | bd870a16c5946d86126f7203db3c73b71de0a1d8 (diff) |
md/raid10: attempt to fix read errors during resync/check
We already attempt to fix read errors found during normal IO
and a 'repair' process.
It is best to try to repair them at any time they are found,
so move a test so that during sync and check a read error will
be corrected by over-writing with good data.
If both (all) devices have known bad blocks in the sync section we
won't try to fix even though the bad blocks might not overlap. That
should be considered later.
Also if we hit a read error during recovery we don't try to fix it.
It would only be possible to fix if there were at least three copies
of data, which is not very common with RAID10. But it should still
be considered later.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/rtc/rtc-rp5c01.c')
0 files changed, 0 insertions, 0 deletions