• NeilBrown's avatar
    md: allow v0.91 metadata to record devices as being active but not in-sync. · 0261cd9f
    NeilBrown authored
    This is a combination that didn't really make sense before.
    However when a reshape is converting e.g. raid5 -> raid6, the extra
    device is not fully in-sync, but is certainly active and contains
    important data.
    So allow that start to be meaningful and in particular get
    the 'recovery_offset' value (which is needed for any non-in-sync
    active device) from the reshape_position.
    Signed-off-by: default avatarNeilBrown <neilb@suse.de>
    0261cd9f
md.c 179 KB