lkml.org 
[lkml]   [2021]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC 01/19] cachefiles: add mode command
From


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

\
 
 \ /
  Last update: 2021-12-11 06:23    [W:0.194 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site