diff options
author | Neil Brown <neilb@suse.de> | 2006-12-14 17:31:25 +1100 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2006-12-14 17:31:25 +1100 |
commit | 37dfc3d638aee1fe3ae6d6b4aa0e648e1a9d61ca (patch) | |
tree | 76f3fab53edd53f03fa76149c78ab3451cf7f449 /mdadm.h | |
parent | b90c0e9a12090c435f23da8378b3436c93f77f2f (diff) | |
download | mdadm-37dfc3d638aee1fe3ae6d6b4aa0e648e1a9d61ca.tar.gz mdadm-37dfc3d638aee1fe3ae6d6b4aa0e648e1a9d61ca.tar.xz mdadm-37dfc3d638aee1fe3ae6d6b4aa0e648e1a9d61ca.zip |
When resync finished, report the mismatch count if there is one.
This doesn't get mailed out, but will appear in syslog...
Maybe it should be mailed if it was a 'check' or 'repair' pass...
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |