commit | 43220aa0f22cd3ce5b30246d50ccd696d119edea | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Wed Aug 31 12:49:14 2011 +1000 |
committer | NeilBrown <neilb@suse.de> | Wed Aug 31 12:49:14 2011 +1000 |
tree | 2738ff3d5acfbe899f30c4991175f945211e941d | |
parent | 7da64a0abc3b2c6cbd3521672e9bb74dd560bb89 [diff] |
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 <neilb@suse.de>