From: NeilBrown Date: Wed, 31 Aug 2011 02:49:14 +0000 (+1000) Subject: md/raid5: fix a hang on device failure. X-Git-Tag: v3.1-rc5~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43220aa0f22cd3ce5b30246d50ccd696d119edea;p=pandora-kernel.git md/raid5: fix a hang on device failure. Waiting for a 'blocked' rdev to become unblocked in the raid5d thread cannot work with internal metadata as it is the raid5d thread which will clear the blocked flag. This wasn't a problem in 3.0 and earlier as we only set the blocked flag when external metadata was used then. However we now set it always, so we need to be more careful. Signed-off-by: NeilBrown --- Reading git-diff-tree failed