diff options
-rw-r--r-- | Incremental.c | 5 | ||||
-rw-r--r-- | mdadm.8 | 5 | ||||
-rw-r--r-- | mdadm.c | 1 |
3 files changed, 1 insertions, 10 deletions
diff --git a/Incremental.c b/Incremental.c index adef44e..d6dd0f4 100644 --- a/Incremental.c +++ b/Incremental.c @@ -437,8 +437,6 @@ int Incremental(char *devname, int verbose, int runstop, chosen_name, info.array.working_disks); wait_for(chosen_name, mdfd); close(mdfd); - if (runstop < 0) - return 0; /* don't try to assemble */ rv = Incremental(chosen_name, verbose, runstop, NULL, homehost, require_homehost, autof); if (rv == 1) @@ -452,8 +450,7 @@ int Incremental(char *devname, int verbose, int runstop, active_disks = count_active(st, mdfd, &avail, &info); if (enough(info.array.level, info.array.raid_disks, info.array.layout, info.array.state & 1, - avail, active_disks) == 0 || - (runstop < 0 && active_disks < info.array.raid_disks)) { + avail, active_disks) == 0) { free(avail); if (verbose >= 0) fprintf(stderr, Name @@ -1219,11 +1219,6 @@ Run any array assembled as soon as a minimal number of devices are available, rather than waiting until all expected devices are present. .TP -.B \-\-no\-degraded -This allows the hot-plug system to prevent arrays from running when it knows -that more disks may arrive later in the discovery process. - -.TP .BR \-\-scan ", " \-s Only meaningful with .B \-R @@ -671,7 +671,6 @@ 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 */ |