aboutsummaryrefslogtreecommitdiffstats
path: root/fs/sysfs/mount.c
diff options
context:
space:
mode:
authorChad Austin <chadaustin@fb.com>2019-01-28 16:34:34 -0800
committerMiklos Szeredi <mszeredi@redhat.com>2019-02-13 13:15:15 +0100
commitfabf7e0262d0bd57739d29aeac94c44b0542ff1f (patch)
tree3aab55728f04c6b7fc6d0b36de30f8b6ccbe2acc /fs/sysfs/mount.c
parentfuse: support clients that don't implement 'opendir' (diff)
downloadlinux-dev-fabf7e0262d0bd57739d29aeac94c44b0542ff1f.tar.xz
linux-dev-fabf7e0262d0bd57739d29aeac94c44b0542ff1f.zip
fuse: cache readdir calls if filesystem opts out of opendir
If a filesystem returns ENOSYS from opendir and thus opts out of opendir and releasedir requests, it almost certainly would also like readdir results cached. Default open_flags to FOPEN_KEEP_CACHE and FOPEN_CACHE_DIR in that case. With this patch, I've measured recursive directory enumeration across large FUSE mounts to be faster than native mounts. Signed-off-by: Chad Austin <chadaustin@fb.com> Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'fs/sysfs/mount.c')
0 files changed, 0 insertions, 0 deletions