summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-02-21 17:13:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-02-21 17:13:47 +0000
commit84c33dd6d41c5b45288ca4059b781fe6fbd5bbad (patch)
treee6cedad652076622be8aade2f08416975c7d84a4 /mdadm.h
parentReleasing debian version 4.2+20240118-1. (diff)
downloadmdadm-84c33dd6d41c5b45288ca4059b781fe6fbd5bbad.tar.xz
mdadm-84c33dd6d41c5b45288ca4059b781fe6fbd5bbad.zip
Merging upstream version 4.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mdadm.h')
-rw-r--r--mdadm.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/mdadm.h b/mdadm.h
index 709b610..1f28b3e 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -377,6 +377,13 @@ struct mdinfo {
int container_member; /* for assembling external-metatdata arrays
* This is to be used internally by metadata
* handler only */
+ /**
+ * flag external handlers can set to indicate that subarrays have:
+ * - not enough disks to start (-1),
+ * - enough disks to start (0),
+ * - all expected disks (1).
+ */
+ int container_enough;
char sys_name[32];
struct mdinfo *devs;
struct mdinfo *next;