diff options
author | NeilBrown <neilb@suse.de> | 2006-01-06 00:20:19 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 08:34:03 -0800 |
commit | ddaf22abaa831763e75775e6d4c7693504237997 (patch) | |
tree | 4f6ba4cb056f8c7cea82c7d548769b879d0fb405 /include/asm-m32r | |
parent | d69762e98456b71167865db9e33e732a28dd36ab (diff) |
[PATCH] md: attempt to auto-correct read errors in raid1
On a read-error we suspend the array, then synchronously read the block from
other arrays until we find one where we can read it. Then we try writing the
good data back everywhere and make sure it works. If any write or subsequent
read fails, only then do we fail the device out of the array.
To be able to suspend the array, we need to also keep track of how many
requests are queued for handling by raid1d.
Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-m32r')
0 files changed, 0 insertions, 0 deletions