diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-05-15 16:48:42 +1000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2008-05-15 16:48:42 +1000 |
commit | fd7cde1bf0221049b6359a96ab4c43578897d0ab (patch) | |
tree | f0672b3f63fb41dbae98013a1df50fc1f1d135c6 /monitor.c | |
parent | 845dea950c319ce33c8535cc14a1fddef1c51752 (diff) | |
download | mdadm-fd7cde1bf0221049b6359a96ab4c43578897d0ab.tar.gz mdadm-fd7cde1bf0221049b6359a96ab4c43578897d0ab.tar.xz mdadm-fd7cde1bf0221049b6359a96ab4c43578897d0ab.zip |
handle resync completion
From: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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; } |