Parent process unfreezes container when reshape was forked. Container has to be frozen during entire reshape for container case. Based on reshape flag "next array" reshape decision is taken also. Signed-off-by: Adam Kwolek <adam.kwolek@xxxxxxxxx> --- Grow.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/Grow.c b/Grow.c index 6238eb3..29a78a6 100644 --- a/Grow.c +++ b/Grow.c @@ -1579,6 +1579,7 @@ int Grow_reshape(char *devname, int fd, int quiet, char *backup_file, */ rv = reshape_container(container, fd, devname, st, &info, force, backup_file, quiet); + frozen = rv; } else { /* Impose these changes on a single array. First * check that the metadata is OK with the change. */ @@ -2201,6 +2202,9 @@ int reshape_container(char *container, int cfd, char *devname, break; } sysfs_free(cc); + + unfreeze(st, 1); + exit(0); } -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html