[RFC 01/19] cachefiles: add mode command

David Howells dhowells at redhat.com
Fri Dec 10 22:05:42 AEDT 2021


Jeffle Xu <jefflexu at 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



More information about the Linux-erofs mailing list