diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-05-15 08:48:39 +0200 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2008-05-15 08:48:39 +0200 |
commit | c052ba301b417d4fc8493d95a4a87f0472cc0483 (patch) | |
tree | e677bbbbe13199a676d56bf384cfb4060f903989 /mdmon.h | |
parent | Merge mdmon (diff) | |
download | mdadm-c052ba301b417d4fc8493d95a4a87f0472cc0483.tar.xz mdadm-c052ba301b417d4fc8493d95a4a87f0472cc0483.zip |
start resync when transitioning from initial readonly state
From: Dan Williams <dan.j.williams@intel.com>
mdadm handles setting resync_start, monitor uses this value to determine
whether to set the 'active' or 'readauto' state.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'mdmon.h')
-rw-r--r-- | mdmon.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -12,6 +12,7 @@ struct active_array { int action_fd; int sync_pos_fd; + int resync_start_fd; enum array_state prev_state, curr_state, next_state; enum sync_action prev_action, curr_action, next_action; @@ -19,6 +20,7 @@ struct active_array { int devnum; unsigned long long sync_pos; + unsigned long long resync_start; }; |