From: NeilBrown Date: Wed, 9 Nov 2005 05:39:31 +0000 (-0800) Subject: [PATCH] md: improvements to raid5 handling of read errors X-Git-Tag: v2.6.15-rc1~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba22dcbf106338a5c46d6979f9b19564faae3d49;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed