[Gluster-devel] [Linux-cachefs] Feature proposal - FS-Cache support in FUSE

David Howells dhowells at redhat.com
Mon Sep 1 14:15:16 UTC 2014


Vimal A R <arvimal at yahoo.in> wrote:

> There are several user-space filesystems which are based on the FUSE kernel
> module. As of now, if I understand correct, the only networked filesystems
> having FS-Cache support are NFS and AFS.

There are also CIFS, 9P and Ceph - though I'm not sure that the latter two are
network filesystems in the strictest sense.

> The idea is to enable FUSE to work with the FS-Cache network filesystem API,
> which is documented at
> 'https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/filesystems/caching/netfs-api.txt'.
> 
> The implementation of FS-Cache support in NFS can be taken as a guideline to
> understand and start off.

Your main problem is how to get the indexing information that you need into
the kernel.  Remember, the cache is persistent, so you need to be able to
recover the index data after the fs has been unmounted and mounted again.

David


More information about the Gluster-devel mailing list