• NeilBrown's avatar
    md: don't insist on valid event count for spare devices. · be6800a7
    NeilBrown authored
    Devices which know that they are spares do not really need to have
    an event count that matches the rest of the array, so there are no
    data-in-sync issues. It is enough that the uuid matches.
    So remove the requirement that the event count is up-to-date.
    
    We currently still write out and event count on spares, but this
    allows us in a year or 3 to stop doing that completely.
    Signed-off-by: default avatarNeilBrown <neilb@suse.de>
    be6800a7
md.c 188 KB