On 12/10/21 7:05 PM, David Howells wrote: > Jeffle Xu <[email protected]> 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
- [RFC 14/19] erofs: introduce fscache support Jeffle Xu
- [RFC 15/19] erofs: implement fscache-based metadata read Jeffle Xu
- [RFC 16/19] erofs: implement fscache-based data read Jeffle Xu
- [RFC 12/19] erofs: export erofs_map_blocks Jeffle Xu
- [RFC 06/19] netfs: add type field to struct netfs_read_reque... Jeffle Xu
- [RFC 13/19] erofs: add bootstrap_path mount option Jeffle Xu
- [RFC 18/19] cachefiles: support on demand read Jeffle Xu
- Re: [RFC 02/19] cachefiles: implement key scheme for demand-... David Howells
- Re: [RFC 01/19] cachefiles: add mode command David Howells
- Re: [RFC 01/19] cachefiles: add mode command JeffleXu
- Re: [RFC 09/19] netfs: refactor netfs_rreq_unlock() David Howells
