summaryrefslogtreecommitdiff
path: root/mdmon.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-12-16 09:07:52 +1100
committerNeilBrown <neilb@suse.de>2010-12-16 09:07:52 +1100
commit0f99b4bd73c916004fe94d17c7f37c8c6f68c8b8 (patch)
tree72b2507aaeeebbec3069a88c1e9ce91545bdb288 /mdmon.h
parentb5420ef325eb2d80da9002a5805d6161f551dc0c (diff)
mdmon: when a reshape is detected, add any newly added devices to the array.
When mdadm starts a reshape, it might add some devices to the array first. mdmon needs to notice the reshape starting and check for any new devices. If there are any they need to be provided to be monitored. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdmon.h')
-rw-r--r--mdmon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdmon.h b/mdmon.h
index 5c515663..6d1776f9 100644
--- a/mdmon.h
+++ b/mdmon.h
@@ -46,6 +46,7 @@ struct active_array {
enum sync_action prev_action, curr_action, next_action;
int check_degraded; /* flag set by mon, read by manage */
+ int check_reshape; /* flag set by mon, read by manage */
int devnum;
};