lkml.org 
[lkml]   [2018]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/9] fuse: readdir caching
Date
Allow caching readdir in fuse.  Use the page cache for this, which solves
cache shrinking on memory pressure.

I think it might make sense to extract something like this into a set of
VFS helpers, so that other filesystems can also make use of this facility.

Thanks,
Miklos

---
Miklos Szeredi (9):
fuse: split out readdir.c
fuse: add FOPEN_CACHE_DIR
fuse: extract fuse_emit() helper
fuse: allow caching readdir
fuse: allow using readdir cache
fuse: add readdir cache version
fuse: use mtime for readdir cache verification
fuse: use iversion for readdir cache verification
fuse: reduce size of struct fuse_inode

fs/fuse/Makefile | 2 +-
fs/fuse/dir.c | 293 +++---------------------
fs/fuse/file.c | 10 +
fs/fuse/fuse_i.h | 83 ++++++-
fs/fuse/inode.c | 11 +-
fs/fuse/readdir.c | 567 ++++++++++++++++++++++++++++++++++++++++++++++
include/uapi/linux/fuse.h | 7 +-
7 files changed, 688 insertions(+), 285 deletions(-)
create mode 100644 fs/fuse/readdir.c

--
2.14.3

\
 
 \ /
  Last update: 2018-09-28 17:43    [W:0.057 / U:0.308 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site