From: NeilBrown Date: Wed, 17 Oct 2007 06:30:55 +0000 (-0700) Subject: md: make sure read errors are auto-corrected during a 'check' resync in raid1 X-Git-Tag: v2.6.24-rc1~556 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf7a44168d743ca97863b7f34ed42a45fd7b5ab0;p=pandora-kernel.git md: make sure read errors are auto-corrected during a 'check' resync in raid1 Whenever a read error is found, we should attempt to overwrite with correct data to 'fix' it. However when do a 'check' pass (which compares data blocks that are successfully read, but doesn't normally overwrite) we don't do that. We should. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed