• NeilBrown's avatar
    md/raid5: Allow recovered part of partially recovered devices to be in-sync · 415e72d0
    NeilBrown authored
    During a recovery of reshape the early part of some devices might be
    in-sync while the later parts are not.
    We we know we are looking at an early part it is good to treat that
    part as in-sync for stripe calculations.
    
    This is particularly important for a reshape which suffers device
    failure.  Treating the data as in-sync can mean the difference between
    data-safety and data-loss.
    Signed-off-by: default avatarNeilBrown <neilb@suse.de>
    415e72d0
raid5.c 167 KB