summaryrefslogtreecommitdiffstats
path: root/md_p.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-11-17 12:30:54 +1100
committerNeilBrown <neilb@suse.de>2009-11-17 12:30:54 +1100
commitf22385f9826bcf35c8055c3b89b731f5760a46c5 (patch)
tree7fab61d87c2b2bbe8aaad4e642b8c083999ff094 /md_p.h
parent14e5b4d72b4db55e688581d98ec47131554f747c (diff)
downloadmdadm-f22385f9826bcf35c8055c3b89b731f5760a46c5.tar.gz
mdadm-f22385f9826bcf35c8055c3b89b731f5760a46c5.tar.xz
mdadm-f22385f9826bcf35c8055c3b89b731f5760a46c5.zip
Assemble: include ACTIVE but not in-sync devices as non-spares.
Previously such things did not exist: ACTIVE and SYNC were either both set or both clear. Recent changes with reshape means that a device can be ACTIVE but not yet fully in-sync, so they need to be handled and included in the array as active devices. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'md_p.h')
-rw-r--r--md_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/md_p.h b/md_p.h
index a9f0204..4594a36 100644
--- a/md_p.h
+++ b/md_p.h
@@ -75,7 +75,7 @@
* Device "operational" state bits
*/
#define MD_DISK_FAULTY 0 /* disk is faulty / operational */
-#define MD_DISK_ACTIVE 1 /* disk is running or spare disk */
+#define MD_DISK_ACTIVE 1 /* disk is running but may not be in sync */
#define MD_DISK_SYNC 2 /* disk is in sync with the raid set */
#define MD_DISK_REMOVED 3 /* disk is in sync with the raid set */