Re: [PATCH 6.1.y 1/2] erofs: simplify compression configuration parser

2024-02-26 Thread Yue Hu
On Tue, 27 Feb 2024 11:00:01 +0800 Gao Xiang wrote: > Hi Yue, > > On 2024/2/27 10:22, Yue Hu wrote: > > From: Gao Xiang > > > > [ Upstream commit efb4fb02cef3ab410b603c8f0e1c67f61d55f542 ] > > > > Move erofs_load_compr_cfgs() into decompressor.c as well as introduce > > a callback instead of

Re: [PATCH] erofs-utils: mkfs: Support tar source without data

2024-02-26 Thread Gao Xiang
Hi Mike! On 2024/2/27 13:11, Mike Baynton wrote: This improves performance of meta-only image creation in cases where the source is a tarball stream that is not seekable. The writer may now use --tar=headerball and omit the file data. Previously, the stream writer was forced to send the file's

[PATCH] erofs-utils: mkfs: Support tar source without data

2024-02-26 Thread Mike Baynton
This improves performance of meta-only image creation in cases where the source is a tarball stream that is not seekable. The writer may now use --tar=headerball and omit the file data. Previously, the stream writer was forced to send the file's size worth of null bytes or any data after each tar

[PATCH 6.1.y 2/2] erofs: fix inconsistent per-file compression format

2024-02-26 Thread Yue Hu
From: Gao Xiang [ Upstream commit 118a8cf504d7dfa519562d000f423ee3ca75d2c4 ] EROFS can select compression algorithms on a per-file basis, and each per-file compression algorithm needs to be marked in the on-disk superblock for initialization. However, syzkaller can generate inconsistent

Re: [PATCH 6.1.y 1/2] erofs: simplify compression configuration parser

2024-02-26 Thread Gao Xiang
Hi Yue, On 2024/2/27 10:22, Yue Hu wrote: From: Gao Xiang [ Upstream commit efb4fb02cef3ab410b603c8f0e1c67f61d55f542 ] Move erofs_load_compr_cfgs() into decompressor.c as well as introduce a callback instead of a hard-coded switch for each algorithm for simplicity. Reviewed-by: Chao Yu

[PATCH 6.1.y 1/2] erofs: simplify compression configuration parser

2024-02-26 Thread Yue Hu
From: Gao Xiang [ Upstream commit efb4fb02cef3ab410b603c8f0e1c67f61d55f542 ] Move erofs_load_compr_cfgs() into decompressor.c as well as introduce a callback instead of a hard-coded switch for each algorithm for simplicity. Reviewed-by: Chao Yu Signed-off-by: Gao Xiang Link:

Re: [PATCH] erofs: remove SLAB_MEM_SPREAD flag usage

2024-02-26 Thread Chengming Zhou
On 2024/2/24 21:47, chengming.z...@linux.dev wrote: > From: Chengming Zhou > > The SLAB_MEM_SPREAD flag is already a no-op as of 6.8-rc1, remove > its usage so we can delete it from slab. No functional change. Update changelog to make it clearer: The SLAB_MEM_SPREAD flag used to be implemented