From: majianpeng Date: Tue, 3 Jul 2012 05:57:02 +0000 (+1000) Subject: md/raid456: When read error cannot be recovered, record bad block X-Git-Tag: v3.5-rc6~24^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e8ac30312973dd20e6807365349ecb1c7e0ea45;p=pandora-kernel.git md/raid456: When read error cannot be recovered, record bad block We may not be able to fix a bad block if: - the array is degraded - the over-write fails. In these cases we currently eject the device, but we should record a bad block if possible. Signed-off-by: majianpeng Signed-off-by: NeilBrown --- Reading git-diff-tree failed