From 51561342479a4469a9257562de6289cf4bd2cf1a Mon Sep 17 00:00:00 2001 From: root Date: Wed, 10 Apr 2019 21:43:29 +0800 Subject: [PATCH 5/6] Grow: report correct new chunk size. When using "--grow --chunk=" to change chunk size, the old chunksize is reported instead of the new. --- Grow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Grow.c b/Grow.c index 76f82c0..363b209 100644 --- a/Grow.c +++ b/Grow.c @@ -3286,7 +3286,7 @@ static int reshape_array(char *container, int fd, char *devname, goto release; } else if (verbose >= 0) printf("chunk size for %s set to %d\n", - devname, array.chunk_size); + devname, info->new_chunk); } unfreeze(st); return 0; -- 2.19.1