Re: [PATCH 2/2] erofs-utils: mkfs: introduce inter-file multi-threaded compression

2024-03-20 Thread Gao Xiang
On 2024/3/21 02:15, Huang Jianan wrote: On 2024/3/17 22:41, Yifan Zhao wrote: This patch allows parallelizing the compression process of different files in mkfs. Specifically, a traverser thread traverses the files and issues the compression task, which is handled by the workers. Then, the

Re: [PATCH v7 2/5] erofs-utils: add a helper to get available processors

2024-03-20 Thread Gao Xiang
On 2024/3/21 02:15, Huang Jianan wrote: On 2024/3/15 9:10, Gao Xiang wrote: In order to prepare for multi-threaded decompression. multi-threaded compression. It already merged into -dev. I would not update this since it's a minor stuff. Let's work on inter-file stuffs. Thanks, Gao

Re: [PATCH 2/2] erofs-utils: mkfs: introduce inter-file multi-threaded compression

2024-03-20 Thread Huang Jianan
On 2024/3/17 22:41, Yifan Zhao wrote: This patch allows parallelizing the compression process of different files in mkfs. Specifically, a traverser thread traverses the files and issues the compression task, which is handled by the workers. Then, the main thread consumes them and writes the

Re: [PATCH v7 2/5] erofs-utils: add a helper to get available processors

2024-03-20 Thread Huang Jianan
On 2024/3/15 9:10, Gao Xiang wrote: In order to prepare for multi-threaded decompression. multi-threaded compression. Thanks, Jianan Signed-off-by: Yifan Zhao Signed-off-by: Gao Xiang --- configure.ac | 1 + include/erofs/config.h | 1 + lib/config.c | 12