[PATCH 0/5] FUSE consistency improvements

From: Jiachen Zhang
Date: Tue Jul 11 2023 - 00:37:01 EST


This patchset resends some patches that related to FUSE consistency
improvements in the mailing list.

The 1st patch fixes a staleness-checking issue, which is the v2 version
of the patch[1].

The 2nd patch is a resend version of the patch[2] with its commit message
rewritten.

The 3rd and 4th patches are new versions of the patch[3] and the patch[4],
FUSE filesystems are able to implement the close-to-open (CTO) consistency
semantics with the help of these two patches. The 5th patch is a new
patch which improves the explanation of FUSE cache mode and consistency
models in the documentation.


[1] [PATCH] fuse: initialize attr_version of new fuse inodes by fc->attr_version,
https://lore.kernel.org/lkml/20221111093702.80975-1-zhangjiachen.jaycee@xxxxxxxxxxxxx/
[2] [PATCH] fuse: invalidate dentry on EEXIST creates or ENOENT deletes,
https://lore.kernel.org/lkml/20220805131823.83544-1-zhangjiachen.jaycee@xxxxxxxxxxxxx/
[3] [PATCH] fuse: add FOPEN_INVAL_ATTR,
https://lore.kernel.org/lkml/20220608104202.19461-1-zhangjiachen.jaycee@xxxxxxxxxxxxx/
[4] [PATCH] fuse: writeback_cache consistency enhancement (writeback_cache_v2),
https://lore.kernel.org/lkml/20220624055825.29183-1-zhangjiachen.jaycee@xxxxxxxxxxxxx/


Jiachen Zhang (5):
fuse: check attributes staleness on fuse_iget()
fuse: invalidate dentry on EEXIST creates or ENOENT deletes
fuse: add FOPEN_INVAL_ATTR
fuse: writeback_cache consistency enhancement (writeback_cache_v2)
docs: fuse: improve FUSE consistency explanation

Documentation/filesystems/fuse-io.rst | 32 +++++++++++++++--
fs/fuse/dir.c | 11 +++---
fs/fuse/file.c | 35 +++++++++++++++++++
fs/fuse/fuse_i.h | 6 ++++
fs/fuse/inode.c | 49 +++++++++++++++++++++++++--
include/uapi/linux/fuse.h | 11 +++++-
6 files changed, 135 insertions(+), 9 deletions(-)

--
2.20.1