summaryrefslogtreecommitdiff
path: root/mdmon.h
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2008-06-12 10:13:29 +1000
committerNeil Brown <neilb@suse.de>2008-06-12 10:13:29 +1000
commit6c3fb95c44ffc36df4048db86231521146417223 (patch)
treea718630739a8294af5df59d30cd15e36a425232e /mdmon.h
parent57632f4afb3588465454187ca6ab66ffb200b677 (diff)
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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mdmon.h b/mdmon.h
index 965f6438..11320ef6 100644
--- a/mdmon.h
+++ b/mdmon.h
@@ -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;