diff options
author | NeilBrown <neilb@suse.de> | 2008-09-18 16:01:57 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2008-09-18 16:01:57 +1000 |
commit | 352452c3648f683d5ee60c62ab243c37af87ada1 (patch) | |
tree | 2efef370fef2b2eb51502dae92c63e8c59bf71ec /mdadm.h | |
parent | f35f25259279573c6274e2783536c0b0a399bdd4 (diff) | |
download | mdadm-352452c3648f683d5ee60c62ab243c37af87ada1.tar.gz mdadm-352452c3648f683d5ee60c62ab243c37af87ada1.tar.xz mdadm-352452c3648f683d5ee60c62ab243c37af87ada1.zip |
Handle incremental assembly of containers.
mdadm -I /dev/part-of-container
should add that to a container, creating if it needed,
and then try to assemble any arrays in the container.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -587,6 +587,12 @@ struct metadata_update { * metadata read in or created is stored in 'sb' and 'info'. * There are also fields used by mdmon to track containers. * + * A supertype may refer to: + * Just an array, possibly in a container + * A container, not identifying any particular array + * Info read from just one device, not yet fully describing the array/container. + * + * * A supertype is created by: * super_by_fd * guess_super @@ -600,6 +606,8 @@ struct supertype { char subarray[32]; /* name of array inside container */ void *sb; void *info; + int loaded_container; /* Set if load_super found a container, + * not just one device */ struct metadata_update *updates; struct metadata_update **update_tail; |