From: NeilBrown Date: Thu, 28 Jul 2011 01:39:25 +0000 (+1000) Subject: md/raid10: simplify read error handling during recovery. X-Git-Tag: v3.1-rc1~131^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e684e41db3bad44f1262341300b827c0d94ae220;p=pandora-kernel.git md/raid10: simplify read error handling during recovery. If a read error is detected during recovery the code currently fails the read device. This isn't really necessary. recovery_request_write will signal a write error to end_sync_write and it will record a write error on the destination device which will record a bad block there or kick it from the array. So just remove this call to do md_error. Signed-off-by: NeilBrown --- Reading git-diff-tree failed