[Linux-cachefs] [PATCH v2] cachefiles: do not yet allow on idmapped mounts

David Howells dhowells at redhat.com
Thu Mar 18 11:08:28 UTC 2021


Christian Brauner <christian.brauner at ubuntu.com> wrote:

> Based on discussion with David Howells my understanding of cachefiles
> and the cachefiles userspace daemon is that it creates a cache on a
> local filesystem (e.g. ext4, xfs etc.) for a network filesystem. The way
> this is done is by writing "bind" to /dev/cachefiles and pointing it to
> the directory to use as the cache.
> So from our offline discussion I gather that cachefilesd creates a cache
> on a local filesystem (ext4, xfs etc.) for a network filesystem. The way
> this is done is by writing "bind" to /dev/cachefiles and pointing it to
> a directory to use as the cache.

You might want to edit that a bit.  It seems you mostly duplicated the first
paragraph.

Looks okay, apart from that, but I'd recommend putting a pr_warn() in there.

David




More information about the Linux-cachefs mailing list