summaryrefslogtreecommitdiff
path: root/mdadm.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2008-08-15 10:58:43 -0700
committerDan Williams <dan.j.williams@intel.com>2008-08-15 10:58:43 -0700
commitf1d267661dc681dfe9bc1c9c6ad246617206d30f (patch)
tree77dadd97bcc050c524af07c6192fdc2eb917715c /mdadm.h
parentfcb844757f8cee1221fb0f7e2b4ced14e44cb572 (diff)
mdmon: allow degraded arrays to be monitored
manage_new is too strict in the face of failed devices. Teach it to monitor degraded arrays. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'mdadm.h')
-rw-r--r--mdadm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdadm.h b/mdadm.h
index 52d94352..12eef2a2 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -324,6 +324,7 @@ extern void map_add(struct map_ent **melp,
#define GET_MISMATCH 32
#define GET_VERSION 64
#define GET_DISKS 128
+#define GET_DEGRADED 256
#define GET_DEVS 1024 /* gets role, major, minor */
#define GET_OFFSET 2048