From: NeilBrown Date: Thu, 28 Jul 2011 01:39:22 +0000 (+1000) Subject: md/raid5: use bad-block log to improve handling of uncorrectable read errors. X-Git-Tag: v3.1-rc1~131^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f0da59bdc2f65795a57009d78f7753d3aea1de3;p=pandora-kernel.git 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 --- Reading git-diff-tree failed