On 12/10/21 7:05 PM, David Howells wrote: > Jeffle Xu <jeffl...@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 -- Linux-cachefs mailing list Linux-cachefs@redhat.com https://listman.redhat.com/mailman/listinfo/linux-cachefs
- [Linux-cachefs] [RFC 11/19] cachefiles: refactor cachefiles_... Jeffle Xu
- [Linux-cachefs] [RFC 02/19] cachefiles: implement key scheme... Jeffle Xu
- [Linux-cachefs] [RFC 17/19] netfs: support on demand read Jeffle Xu
- [Linux-cachefs] [RFC 14/19] erofs: introduce fscache support Jeffle Xu
- [Linux-cachefs] [RFC 07/19] netfs: add netfs_readpage_demand... Jeffle Xu
- [Linux-cachefs] [RFC 03/19] cachefiles: refactor cachefiles_... Jeffle Xu
- [Linux-cachefs] [RFC 16/19] erofs: implement fscache-based d... Jeffle Xu
- Re: [Linux-cachefs] [RFC 02/19] cachefiles: implement key sc... David Howells
- Re: [Linux-cachefs] [RFC 01/19] cachefiles: add mode command David Howells
- Re: [Linux-cachefs] [RFC 01/19] cachefiles: add mode co... JeffleXu
- Re: [Linux-cachefs] [RFC 09/19] netfs: refactor netfs_rreq_u... David Howells