monitor: don't mark dirty on resync complete

...instead look at array state to determine if the array is consistent

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
This commit is contained in:
Dan Williams 2008-09-15 20:58:42 -07:00
parent d797a0621f
commit 0c0c44db5a
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ static int read_and_act(struct active_array *a)
* Just check if we need to fiddle spares.
*/
get_resync_start(a);
a->container->ss->set_array_state(a, 0);
a->container->ss->set_array_state(a, a->curr_state <= clean);
check_degraded = 1;
}