• NeilBrown's avatar
    md: don't abort checking spares as soon as one cannot be added. · 50da0840
    NeilBrown authored
    As spares can be added manually before a reshape starts, we need to
    find them all to mark some of them as in_sync.
    
    Previously we would abort looking for spares when we found an
    unallocated spare what could not be added to the array (implying there
    was no room for new spares).  However already-added spares could be
    later in the list, so we need to keep searching.
    Signed-off-by: default avatarNeilBrown <neilb@suse.de>
    50da0840
raid5.c 168 KB