diff options
author | NeilBrown <neilb@suse.de> | 2005-11-09 06:39:31 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-09 16:56:38 +0100 |
commit | ba22dcbf106338a5c46d6979f9b19564faae3d49 (patch) | |
tree | 4caae4532cda0412d2446eca8b036d4e0df447f8 /drivers/md/kcopyd.c | |
parent | [PATCH] md: change raid5 sysfs attribute to not create a new directory (diff) | |
download | linux-ba22dcbf106338a5c46d6979f9b19564faae3d49.tar.xz linux-ba22dcbf106338a5c46d6979f9b19564faae3d49.zip |
[PATCH] md: improvements to raid5 handling of read errors
Two refinements to the 'attempt-overwrite-on-read-error' mechanism.
1/ If the array is read-only, don't attempt an over-write.
2/ If there are more than max_nr_stripes read errors on a device with
no success, fail the drive. This will make sure a dead
drive will be eventually kicked even when we aren't trying
to rewrite (which would normally kick a dead drive more quickly.
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 'drivers/md/kcopyd.c')
0 files changed, 0 insertions, 0 deletions