diff options
author | Neil Brown <neilb@suse.de> | 2008-06-12 02:13:29 +0200 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2008-06-12 02:13:29 +0200 |
commit | 6c3fb95c44ffc36df4048db86231521146417223 (patch) | |
tree | a718630739a8294af5df59d30cd15e36a425232e /mdmon.h | |
parent | Some fixes to make failures in ddf get handled properly. (diff) | |
download | mdadm-6c3fb95c44ffc36df4048db86231521146417223.tar.xz mdadm-6c3fb95c44ffc36df4048db86231521146417223.zip |
Support adding a spare to a degraded array.
When signalled by the monitor, the manager will find spares and
add them to the array and initiate a recovery.
Diffstat (limited to 'mdmon.h')
-rw-r--r-- | mdmon.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -16,6 +16,8 @@ struct active_array { enum array_state prev_state, curr_state, next_state; enum sync_action prev_action, curr_action, next_action; + int check_degraded; /* flag set by mon, read by manage */ + int devnum; unsigned long long resync_start; |