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

Chunhai Guo guochunhai at vivo.com
Mon Nov 11 22:10:06 AEDT 2024


在 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 <guochunhai at vivo.com>
> I guess remount could also change the decompression strategy?
> Or there are some other concern that remount is not usable
> for your use cases?
Yes, remount can change the strategy. However, the cache will not be 
cleaned when the strategy is changed to EROFS_ZIP_CACHE_DISABLED. I will 
make another patch to address this during remount. Thank you for your 
suggestion.
>
> Thanks,
> Gao Xiang




More information about the Linux-erofs mailing list