From: NeilBrown Date: Fri, 6 Feb 2009 04:06:47 +0000 (+1100) Subject: md: Allow read error in a single drive raid1 to be passed up. X-Git-Tag: v2.6.29-rc4~19^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4706b349f4a8312d31b3d0cf61fe721699356920;p=pandora-kernel.git md: Allow read error in a single drive raid1 to be passed up. If a raid1 only has a single working device and gets a read error, we choose to simply return that error up to the filesystem (or whatever) rather than failing the whole array. However the codes doesn't quite do that. We attempt a readbalance which allocates the same drive, so we retry the read - indefinitely. Instead: If read_balance in the error case chooses the same drive that just failed, treat it as a failure and don't retry. Signed-off-by: NeilBrown --- Reading git-diff-tree failed