Re: [PATCH] erofs: add sysfs node to control cached decompression strategy

2024-11-10 Thread Gao Xiang
Hi Chunhai, On 2024/11/1 20:42, Chunhai Guo wrote: Add sysfs node to control cached decompression strategy, and all the cache will be cleaned up when the strategy is set to EROFS_ZIP_CACHE_DISABLED. Signed-off-by: Chunhai Guo I guess remount could also change the decompression strategy? Or t

Re: [PATCH v2] erofs: free pclusters if no cached folio attached

2024-11-10 Thread Gao Xiang
Hi Chunhai, On 2024/11/1 14:38, Chunhai Guo wrote: Once a pcluster is fully decompressed and there are no attached cached folios, its corresponding `struct z_erofs_pcluster` will be freed. This will significantly reduce the frequency of calls to erofs_shrink_scan() and the memory allocated for `

Re: [PATCH v2 1/3] erofs: get rid of erofs_{find,insert}_workgroup

2024-11-10 Thread Gao Xiang
Hi Chao, On 2024/11/7 11:09, Chao Yu wrote: On 2024/10/21 11:53, Gao Xiang wrote: Just fold them into the only two callers since they are simple enough. Signed-off-by: Gao Xiang --- v1: https://lore.kernel.org/r/20241017115705.877515-1-hsiang...@linux.alibaba.com change since v1:   - !grp ca

Re: [PATCH] mkfs: Fix input offset counting in headerball mode

2024-11-10 Thread Gao Xiang
Hi Mike, On 2024/11/9 00:37, Mike Baynton wrote: Thanks for the update, Gao! Appreciate your review. Mike I'm just back from vacation. On Fri, Oct 25, 2024 at 8:36 PM Gao Xiang wrote: Hi Mike, On 2024/10/25 03:58, Mike Baynton wrote: When using --tar=headerball, most files included in