- md_submit (minor, "number", (gauge_t) array.nr_disks);
- md_submit (minor, "raid", (gauge_t) array.raid_disks);
+ /*
+ * The mdu_array_info_t structure contains numbers of disks in the array.
+ * However, disks are accounted for more than once:
+ *
+ * active: Number of active (in sync) disks.
+ * spare: Number of stand-by disks.
+ * working: Number of working disks. (active + sync)
+ * failed: Number of failed disks.
+ * nr: Number of physically present disks. (working + failed)
+ * raid: Number of disks in the RAID. This may be larger than "nr" if
+ * disks are missing and smaller than "nr" when spare disks are
+ * around.
+ */