[RFC PATCH v5 0/8] fuse: caches documentation and testing
From: Luis Henriques
Date: Thu Oct 01 2026 - 12:49:16 EST
Hi!
Following this email, I'm sending v5 of this patchset. Here's what changed
since v4 (mostly from Amir's review):
- Included suggested changes to the document
- Moved back 'struct fuse_common_ctx' into tests FIXTURE
- Fixed a few typos in the tests comments
- Added missing SPDX-License-Identifier tag to fuse_common.h
- Added an initial stab on the dentries cache (hence not adding Amir's
'Reviewed-by' tag in the first patch)
Luis Henriques (8):
Documentation: fuse: add document on caches being used by FUSE
selftests/fuse: convert fusectl test to fuse3
selftests/fuse: check that fusectlfs is mounted
selftests/fuse: factor-out test fixture setup/teardown
selftests/fuse: use dynamically allocated memory to store ACLs
selftests/fuse: add some extra ACL caching tests
selftests/fuse: add fuse symlink caching test
selftests/fuse: add fuse readdir caching test
.../filesystems/fuse/fuse-caches.rst | 198 ++++++++++++
Documentation/filesystems/fuse/index.rst | 1 +
.../selftests/filesystems/fuse/.gitignore | 3 +
.../selftests/filesystems/fuse/Makefile | 28 +-
.../filesystems/fuse/fuse_acl_cache_test.c | 299 ++++++++++++++----
.../selftests/filesystems/fuse/fuse_common.c | 58 ++++
.../selftests/filesystems/fuse/fuse_common.h | 33 ++
.../selftests/filesystems/fuse/fuse_mnt.c | 17 +-
.../fuse/fuse_readdir_cache_test.c | 273 ++++++++++++++++
.../fuse/fuse_symlink_cache_test.c | 162 ++++++++++
.../selftests/filesystems/fuse/fusectl_test.c | 9 +-
11 files changed, 998 insertions(+), 83 deletions(-)
create mode 100644 Documentation/filesystems/fuse/fuse-caches.rst
create mode 100644 tools/testing/selftests/filesystems/fuse/fuse_common.c
create mode 100644 tools/testing/selftests/filesystems/fuse/fuse_common.h
create mode 100644 tools/testing/selftests/filesystems/fuse/fuse_readdir_cache_test.c
create mode 100644 tools/testing/selftests/filesystems/fuse/fuse_symlink_cache_test.c