1
0
Fork 0
alistair23-linux/fs/fuse
Miklos Szeredi 5d7bc7e868 fuse: allow using readdir cache
The cache is only used if it's completed, not while it's still being
filled; this constraint could be lifted later, if it turns out to be
useful.

Introduce state in struct fuse_file that indicates the position within the
cache.  After a seek, reset the position to the beginning of the cache and
search the cache for the current position.  If the current position is not
found in the cache, then fall back to uncached readdir.

It can also happen that page(s) disappear from the cache, in which case we
must also fall back to uncached readdir.

Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2018-10-01 10:07:04 +02:00
..
Kconfig fuse: Add posix ACL support 2016-10-01 07:32:32 +02:00
Makefile fuse: split out readdir.c 2018-09-28 16:43:23 +02:00
acl.c fuse: Support fuse filesystems outside of init_user_ns 2018-03-20 17:11:44 +01:00
control.c fuse: introduce fc->bg_lock 2018-09-28 16:43:22 +02:00
cuse.c fuse: Support fuse filesystems outside of init_user_ns 2018-03-20 17:11:44 +01:00
dev.c fuse: Use hash table to link processing request 2018-09-28 16:43:23 +02:00
dir.c fuse: split out readdir.c 2018-09-28 16:43:23 +02:00
file.c fuse: allow using readdir cache 2018-10-01 10:07:04 +02:00
fuse_i.h fuse: allow using readdir cache 2018-10-01 10:07:04 +02:00
inode.c fuse: allow caching readdir 2018-10-01 10:07:04 +02:00
readdir.c fuse: allow using readdir cache 2018-10-01 10:07:04 +02:00
xattr.c fuse: Ensure posix acls are translated outside of init_user_ns 2018-05-31 12:26:10 +02:00