summaryrefslogtreecommitdiffstats
path: root/mdmon.h
diff options
context:
space:
mode:
Diffstat (limited to 'mdmon.h')
-rw-r--r--mdmon.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/mdmon.h b/mdmon.h
index 110cbef2..ce6218a2 100644
--- a/mdmon.h
+++ b/mdmon.h
@@ -48,8 +48,14 @@ 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 check_reshape; /* flag set by mon, read by manage */
+ bool check_degraded : 1; /* flag set by mon, read by manage */
+ bool check_reshape : 1; /* flag set by mon, read by manage */
+
+ /**
+ * Signalize managemon there is a mdi to be removed.
+ * Monitor must acknowledge faulty state first.
+ */
+ bool check_member_remove : 1;
};
/*