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

From: David Howells
Date: Fri Dec 10 2021 - 06:06:10 EST


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.

David