For external metadada, reshape will be continue in the background. It is possible that background array reshape should be used for native metadata also. Signed-off-by: Adam Kwolek <adam.kwolek@xxxxxxxxx> --- Grow.c | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/Grow.c b/Grow.c index e321a39..a5041de 100644 --- a/Grow.c +++ b/Grow.c @@ -3334,7 +3334,19 @@ int Grow_continue(int mdfd, struct supertype *st, struct mdinfo *info, } else { fmt_devname(buf, st->container_dev); container = buf; + switch (fork()) { + case -1: + fprintf(stderr, Name ": Cannot run child to " + "monitor reshape: %s\n", strerror(errno)); + return 1; + default: + return 0; + case 0: + dprintf(Name ": Continue bacground reshape " + "after assemblation\n"); + } } + return reshape_array(container, mdfd, "array", st, info, 1, backup_file, 0, 0, 1); } -- 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