]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - mdmon.h
udev: Ignore change event for imsm
[thirdparty/mdadm.git] / mdmon.h
diff --git a/mdmon.h b/mdmon.h
index 0b08c3d7da2a62e6b3934e0b2716cd85fd2dc759..b3d72ac37b67f186c87ab1849b7693b6b924a936 100644 (file)
--- a/mdmon.h
+++ b/mdmon.h
@@ -21,7 +21,7 @@
 extern const char Name[];
 
 enum array_state { clear, inactive, suspended, readonly, read_auto,
-                  clean, active, write_pending, active_idle, bad_word};
+                  clean, active, write_pending, active_idle, broken, bad_word};
 
 enum sync_action { idle, reshape, resync, recover, check, repair, bad_action };
 
@@ -35,6 +35,7 @@ struct active_array {
        int resync_start_fd;
        int metadata_fd; /* for monitoring rw/ro status */
        int sync_completed_fd; /* for checkpoint notification events */
+       int safe_mode_delay_fd;
        unsigned long long last_checkpoint; /* sync_completed fires for many
                                             * reasons this field makes sure the
                                             * kernel has made progress before