lkml.org 
[lkml]   [2021]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC 01/19] cachefiles: add mode command
Date
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.

David

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