diff options
author | NeilBrown <neilb@suse.de> | 2014-05-22 06:22:58 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2014-05-22 06:22:58 +0200 |
commit | 06e293d0970e36b1ed049b9d3ccb21a870e9d2eb (patch) | |
tree | 4c02a0185af565fdabd73d23791f0a4e23fab812 /mdadm.h | |
parent | DDF: remove some pointless code in validate_geometry (diff) | |
download | mdadm-06e293d0970e36b1ed049b9d3ccb21a870e9d2eb.tar.xz mdadm-06e293d0970e36b1ed049b9d3ccb21a870e9d2eb.zip |
Grow: fix resent grow_continue breakage.
Commit 5e76dce1acd906e8fc8af04973c3a129cdc77fd6 changed
Grow_continue to assume a fork had already happened, so that
mdadm --grow --continue
didn't fork. This is good, but it means that if Grow_continue
is run from Assemble, then
mdadm --assemble ....
can misbehave if the array was in the middle of a reshape.
So introduce finer control. Grow_continue only assumes it has
already forked if run from "mdadm --grow --continue".
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1193,7 +1193,7 @@ extern int Grow_restart(struct supertype *st, struct mdinfo *info, int *fdlist, int cnt, char *backup_file, int verbose); extern int Grow_continue(int mdfd, struct supertype *st, struct mdinfo *info, char *backup_file, - int freeze_reshape); + int forked, int freeze_reshape); extern int restore_backup(struct supertype *st, struct mdinfo *content, |