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

2024-11-11 Thread Gao Xiang
On 2024/11/11 19:10, Chunhai Guo wrote: 在 2024/11/11 10:28, 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: Ch

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

2024-11-11 Thread Chunhai Guo via Linux-erofs
在 2024/11/11 10:28, 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

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

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

2024-11-01 Thread Chunhai Guo via Linux-erofs
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 --- Documentation/ABI/testing/sysfs-fs-erofs | 14 ++ fs/erofs/sysfs.c | 8