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:
parent
d797a0621f
commit
0c0c44db5a
|
@ -268,7 +268,7 @@ static int read_and_act(struct active_array *a)
|
||||||
* Just check if we need to fiddle spares.
|
* Just check if we need to fiddle spares.
|
||||||
*/
|
*/
|
||||||
get_resync_start(a);
|
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;
|
check_degraded = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue