[PATCH 0/2] fuse: add no forget support

From: yangyun
Date: Fri Jul 26 2024 - 04:38:27 EST


FUSE_FORGET requests are not used in some cases but have an impact on the
system. So add no forget support.

Patch 1 simplifies the queueing process of FUSE_FORGET request when error happens,
which Patch 2 depends on.

Patch 2 does the actual work about the no forget support.

yangyun (2):
fuse: replace fuse_queue_forget with fuse_force_forget if error
fuse: add support for no forget requests

fs/fuse/dev.c | 25 ++++++++++++++++
fs/fuse/dir.c | 63 +++++++++------------------------------
fs/fuse/fuse_i.h | 26 ++++++++++++++++
fs/fuse/inode.c | 10 +++----
fs/fuse/readdir.c | 37 +++++------------------
include/uapi/linux/fuse.h | 3 ++
6 files changed, 81 insertions(+), 83 deletions(-)

--
2.33.0