• NeilBrown's avatar
    md: adjust resync_min usefully when resync aborts. · c07b70ad
    NeilBrown authored
    When a 'check' or 'repair' finished we should clear resync_min
    so that a future check/repair will cover the whole array (by default).
    However if it is interrupted, we should update resync_min to
    where we got up to, so that when the check/repair continues it
    just does the remainder of the array.
    Signed-off-by: default avatarNeilBrown <neilb@suse.de>
    c07b70ad
md.c 179 KB