Skip to content
Commit c07b70ad authored by NeilBrown's avatar NeilBrown
Browse files

md: adjust resync_min usefully when resync aborts.



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>
parent 7820f9e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment