[RFC 01/19] cachefiles: add mode command

JeffleXu jefflexu at linux.alibaba.com
Sat Dec 11 16:23:26 AEDT 2021



On 12/10/21 7:05 PM, David Howells wrote:
> Jeffle Xu <jefflexu at linux.alibaba.com> wrote:
> 
>> +enum cachefiles_mode {
>> +	CACHEFILES_MODE_CACHE,	/* local cache for netfs (Default) */
>> +	CACHEFILES_MODE_DEMAND,	/* demand read for read-only fs */
>> +};
>> +
> 
> I would suggest just adding a flag for the moment.
> 

Make sense. Thanks.

-- 
Thanks,
Jeffle


More information about the Linux-erofs mailing list