Re: [PATCH] erofs-utils: move pclustersize to struct z_erofs_compress_sctx

2024-03-21 Thread Gao Xiang
On 2024/3/21 15:02, Noboru Asai wrote: With -E(all-)fragments, pclustersize has a different value per segment, so move it to struct z_erofs_compress_sctx. Signed-off-by: Noboru Asai Thanks, I think it's a good change for the later fragment multi-threaded compression. Thanks, Gao XIang

[PATCH] erofs-utils: move pclustersize to struct z_erofs_compress_sctx

2024-03-21 Thread Noboru Asai
With -E(all-)fragments, pclustersize has a different value per segment, so move it to struct z_erofs_compress_sctx. Signed-off-by: Noboru Asai --- lib/compress.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/lib/compress.c b/lib/compress.c index