Reshape for subarrays is blocked in Grow.c due to lack of implementation. This patch allows for subarray processing. Signed-off-by: Adam Kwolek <adam.kwolek@xxxxxxxxx> --- Grow.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/Grow.c b/Grow.c index b5442a5..f03dcc9 100644 --- a/Grow.c +++ b/Grow.c @@ -1518,7 +1518,9 @@ int Grow_reshape(char *devname, int fd, int quiet, char *backup_file, * layout/chunksize/raid_disks can be changed * though the kernel may not support it all. */ - if (subarray) { + if ((subarray) && + !(st->ss->external && + st->ss->reshape_super && st->ss->manage_reshape)) { fprintf(stderr, Name ": Cannot reshape subarrays yet\n"); break; } -- 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