From: NeilBrown Date: Thu, 28 Jul 2011 01:39:22 +0000 (+1000) Subject: md/raid5: write errors should be recorded as bad blocks if possible. X-Git-Tag: v3.1-rc1~131^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc2607f393bd4fb844c1886a02af929ca0372056;p=pandora-kernel.git md/raid5: write errors should be recorded as bad blocks if possible. When a write error is detected, don't mark the device as failed immediately but rather record the fact for handle_stripe to deal with. Handle_stripe then attempts to record a bad block. Only if that fails does the device get marked as faulty. Signed-off-by: NeilBrown --- Reading git-diff-tree failed