summaryrefslogtreecommitdiff
path: root/super-ddf.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2010-05-26 13:22:36 -0700
committerDan Williams <dan.j.williams@intel.com>2010-05-26 13:22:36 -0700
commit97b4d0e971b20cea66b4a2dd04968cae79a3c2e6 (patch)
tree431f304f86a6f2b4cc89941b655506e99b29baa5 /super-ddf.c
parent4460f8f7c344a0e8c8d454edcaf392e85912c76e (diff)
Incremental: honor an 'enough' flag from external handlers
This is needed for imsm where: 1/ we want to report raid_disks as zero to allow mdadm -As to incorporate all spares 2/ we can't determine stale disks by looking at the event counts. 3/ we can't see per-subarray expectations with the info returned from the container level ->getinfo_super() Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'super-ddf.c')
-rw-r--r--super-ddf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/super-ddf.c b/super-ddf.c
index 0e6f1e53..b01c68d5 100644
--- a/super-ddf.c
+++ b/super-ddf.c
@@ -1357,6 +1357,7 @@ static void getinfo_super_ddf(struct supertype *st, struct mdinfo *info)
(ddf->anchor.guid+16));
info->array.utime = 0;
info->array.chunk_size = 0;
+ info->container_enough = 0;
info->disk.major = 0;