After raid0 reshape is finished backward takeover has to be executed. Signed-off-by: Adam Kwolek <adam.kwolek@xxxxxxxxx> --- Grow.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Grow.c b/Grow.c index 3814579..c88df1b 100644 --- a/Grow.c +++ b/Grow.c @@ -2072,8 +2072,8 @@ static int reshape_array(char *container, int fd, char *devname, sysfs_free(info2); } } - - if (info->new_level != info->array.level) { + if ((info->new_level != info->array.level) || + ((info->new_level == 0) && (orig_level == 0))) { /* We need to wait for the reshape to finish * (which will have happened unless * odata < ndata) and then set the level -- 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