Re: [RFC 01/19] cachefiles: add mode command

From: JeffleXu
Date: Sat Dec 11 2021 - 00:23:34 EST




On 12/10/21 7:05 PM, David Howells wrote:
> Jeffle Xu <jefflexu@xxxxxxxxxxxxxxxxx> 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