diff options
author | NeilBrown <neilb@suse.de> | 2010-02-24 11:16:41 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-02-24 11:16:56 +1100 |
commit | b179246f4f519082158279b2f45e5fd51842cc42 (patch) | |
tree | 684888e80b21bc89215ba27f29abcc2a97ccc613 /mdadm.h | |
parent | cd9a8b5cb4c2a402dbc2bf0ce314cd87285bcf4d (diff) | |
download | mdadm-b179246f4f519082158279b2f45e5fd51842cc42.tar.gz mdadm-b179246f4f519082158279b2f45e5fd51842cc42.tar.xz mdadm-b179246f4f519082158279b2f45e5fd51842cc42.zip |
Assemble: Handle assembling from config file which is out of order.
Currently "mdadm -As" will process the entries in the config
file in order. If any array is a component or member of a preceding
array, that array will not be assembled.
So if there are any failures during assembly, retry those arrays,
and look until everything is assembled, or nothing more can
be assembled.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -301,6 +301,10 @@ typedef struct mddev_ident_s { char *member; /* subarray within a container */ struct mddev_ident_s *next; + union { + /* fields needed by different users of this structure */ + int assembled; /* set when assembly succeeds */ + }; } *mddev_ident_t; /* List of device names - wildcards expanded */ |