]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - mdadm.h
When resync finished, report the mismatch count if there is one.
[thirdparty/mdadm.git] / mdadm.h
diff --git a/mdadm.h b/mdadm.h
index f1768a53c621de1c8f4662b788021b5056093278..f6350e1870fb34c339da7acfcc37a1c8c82269d2 100644 (file)
--- a/mdadm.h
+++ b/mdadm.h
@@ -258,6 +258,7 @@ struct sysarray {
        int     level;
        int     spares;
        int     cache_size;
+       int     mismatch_cnt;
 };
 /* various details can be requested */
 #define        GET_LEVEL       1
@@ -265,6 +266,7 @@ struct sysarray {
 #define        GET_COMPONENT   4
 #define        GET_CHUNK       8
 #define GET_CACHE      16
+#define        GET_MISMATCH    32
 
 #define        GET_DEVS        1024 /* gets role, major, minor */
 #define        GET_OFFSET      2048