Skip to content
  • NeilBrown's avatar
    md/raid5: fix a hang on device failure. · 43220aa0
    NeilBrown authored
    
    
    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: default avatarNeilBrown <neilb@suse.de>
    43220aa0