]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Assemble: Handle assembling from config file which is out of order.
authorNeilBrown <neilb@suse.de>
Wed, 24 Feb 2010 00:16:41 +0000 (11:16 +1100)
committerNeilBrown <neilb@suse.de>
Wed, 24 Feb 2010 00:16:56 +0000 (11:16 +1100)
commitb179246f4f519082158279b2f45e5fd51842cc42
tree684888e80b21bc89215ba27f29abcc2a97ccc613
parentcd9a8b5cb4c2a402dbc2bf0ce314cd87285bcf4d
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>
mdadm.c
mdadm.h