diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-09-15 20:58:42 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2008-09-15 20:58:42 -0700 |
commit | 0c0c44db5ae98452c9c69bffc35b031c9fd7acea (patch) | |
tree | cda77b5255c0a5db968a2a0c4fb70e86c1883772 | |
parent | d797a0621f08c799ca7c21a2b3b8eedaf19fc7aa (diff) | |
download | mdadm-0c0c44db5ae98452c9c69bffc35b031c9fd7acea.tar.gz mdadm-0c0c44db5ae98452c9c69bffc35b031c9fd7acea.tar.xz mdadm-0c0c44db5ae98452c9c69bffc35b031c9fd7acea.zip |
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>
-rw-r--r-- | monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |