From: NeilBrown Date: Thu, 28 Jul 2011 01:33:00 +0000 (+1000) Subject: md/raid1: record badblocks found during resync etc. X-Git-Tag: v3.1-rc1~131^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8f05d2995d467a91db1af01637e6ffd94660ca8;p=pandora-kernel.git md/raid1: record badblocks found during resync etc. If we find a bad block while writing as part of resync/recovery we need to report that back to raid1d which must record the bad block, or fail the device. Similarly when fixing a read error, a further error should just record a bad block if possible rather than failing the device. Signed-off-by: NeilBrown Reviewed-by: Namhyung Kim --- Reading git-diff-tree failed