]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - mdmon.h
intel,ddf: don't require partitions when ignore_hw_compat is set.
[thirdparty/mdadm.git] / mdmon.h
diff --git a/mdmon.h b/mdmon.h
index 20a0a013c54eadd76325cc95e3504a0075ebc7ae..21cf71d5c6ac774cca9d2bbb7179e743a4f278ce 100644 (file)
--- a/mdmon.h
+++ b/mdmon.h
@@ -28,17 +28,26 @@ struct active_array {
        struct mdinfo info;
        struct supertype *container;
        struct active_array *next, *replaces;
+       int to_remove;
 
        int action_fd;
        int resync_start_fd;
        int metadata_fd; /* for monitoring rw/ro status */
+       int sync_completed_fd; /* for checkpoint notification events */
+       unsigned long long last_checkpoint; /* sync_completed fires for many
+                                            * reasons this field makes sure the
+                                            * kernel has made progress before
+                                            * moving the checkpoint.  It is
+                                            * cleared by the metadata handler
+                                            * when it determines recovery is
+                                            * terminated.
+                                            */
 
        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;
+       int check_reshape; /* flag set by mon, read by manage */
 };
 
 /*