]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - md_p.h
Change way of printing name of a process
[thirdparty/mdadm.git] / md_p.h
diff --git a/md_p.h b/md_p.h
index 6c79a3d12f347f54aa05ecfac01265f787e82dad..c4846babcff5ed06f45c938b715acd7f8861d8a1 100644 (file)
--- a/md_p.h
+++ b/md_p.h
@@ -84,6 +84,8 @@
                                   * dire need
                                   */
 
+#define MD_DISK_REPLACEMENT    17
+
 typedef struct mdp_device_descriptor_s {
        __u32 number;           /* 0 Device number in the entire set          */
        __u32 major;            /* 1 Device major number                      */
@@ -101,14 +103,16 @@ typedef struct mdp_device_descriptor_s {
 #define MD_SB_CLEAN            0
 #define MD_SB_ERRORS           1
 #define MD_SB_BBM_ERRORS       2
-
+#define MD_SB_BLOCK_CONTAINER_RESHAPE 3 /* block container wide reshapes */
+#define MD_SB_BLOCK_VOLUME     4 /* block activation of array, other arrays
+                                  * in container can be activated */
 #define        MD_SB_BITMAP_PRESENT    8 /* bitmap may be present nearby */
 
 typedef struct mdp_superblock_s {
        /*
         * Constant generic information
         */
-       __u32 md_magic;         /*  0 MD identifier                           */
+       __u32 md_magic;         /*  0 MD identifier                           */
        __u32 major_version;    /*  1 major version to which the set conforms */
        __u32 minor_version;    /*  2 minor version ...                       */
        __u32 patch_version;    /*  3 patchlevel version ...                  */
@@ -192,4 +196,3 @@ static inline __u64 md_event(mdp_super_t *sb) {
 }
 
 #endif
-