From 37dfc3d638aee1fe3ae6d6b4aa0e648e1a9d61ca Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Thu, 14 Dec 2006 17:31:25 +1100 Subject: 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... --- mdadm.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mdadm.h') diff --git a/mdadm.h b/mdadm.h index f1768a5..f6350e1 100644 --- 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 -- cgit