summaryrefslogtreecommitdiffstats
path: root/monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/monitor.c b/monitor.c
index 8f5ad46..ee35bdf 100644
--- a/monitor.c
+++ b/monitor.c
@@ -274,10 +274,9 @@ static int read_and_act(struct active_array *a)
if (a->curr_action == idle &&
a->prev_action == resync) {
- /* check resync_start to see if it is 'max'.
- * Do I open here, or have it open the whole time?
- */
- get_sync_pos(a);
+ /* check resync_start to see if it is 'max' */
+ get_resync_start(a);
+ a->container->ss->mark_sync(a, a->resync_start);
check_degraded = 1;
}