diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-02-25 02:45:57 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-02-25 02:45:57 +0100 |
commit | fdb482f99b9ad2ef8cd1724902fdfeedaa8796a1 (patch) | |
tree | 62774bdd00a49fc06c9fd6d81cec9a4f379e0eaf /mdadm.c | |
parent | Incremental: fix 'name_to_use' in the container case (diff) | |
download | mdadm-fdb482f99b9ad2ef8cd1724902fdfeedaa8796a1.tar.xz mdadm-fdb482f99b9ad2ef8cd1724902fdfeedaa8796a1.zip |
Incremental: honor --no-degraded to delay assembly
Currently Incremental_container is being called after adding each disk.
In the imsm case where spares are not tracked in the raid_disks field we
can use --no-degraded to block premature assembly.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'mdadm.c')
-rw-r--r-- | mdadm.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -644,6 +644,7 @@ int main(int argc, char *argv[]) " 'summaries', 'homehost', 'byteorder', 'devicesize'.\n"); exit(outf == stdout ? 0 : 2); + case O(INCREMENTAL,NoDegraded): case O(ASSEMBLE,NoDegraded): /* --no-degraded */ runstop = -1; /* --stop isn't allowed for --assemble, * so we overload slightly */ |