mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] fuse: add no forget support
@ 2024-08-24  9:25 yangyun
  2024-08-24  9:25 ` [PATCH v2 1/2] fuse: move fuse_forget_link allocation inside fuse_queue_forget() yangyun
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: yangyun @ 2024-08-24  9:25 UTC (permalink / raw)
  To: Miklos Szeredi; +Cc: josef, linux-fsdevel, linux-kernel, lixiaokeng

FUSE_FORGET requests are not used in some cases (e.g., juicefs) but have 
an impact on the system. So add no forget support.

---

v1: 
https://lore.kernel.org/linux-fsdevel/20240726083752.302301-1-yangyun50@huawei.com/

Changes from v1->v2:
- Still use fuse_queue_forget in patch 1 (Miklos)
- Simplify function name in patch 2 (Josef)

yangyun (2):
  fuse: move fuse_forget_link allocation inside fuse_queue_forget()
  fuse: add support for no forget requests

 fs/fuse/dev.c             | 14 +++++++--
 fs/fuse/dir.c             | 63 +++++++++------------------------------
 fs/fuse/fuse_i.h          | 34 ++++++++++++++-------
 fs/fuse/inode.c           | 43 ++++++--------------------
 fs/fuse/readdir.c         | 37 +++++------------------
 include/uapi/linux/fuse.h |  3 ++
 6 files changed, 70 insertions(+), 124 deletions(-)

-- 
2.33.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-08-30  9:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-24  9:25 [PATCH v2 0/2] fuse: add no forget support yangyun
2024-08-24  9:25 ` [PATCH v2 1/2] fuse: move fuse_forget_link allocation inside fuse_queue_forget() yangyun
2024-08-26 19:24   ` Miklos Szeredi
2024-08-27  9:34     ` yangyun
2024-08-24  9:25 ` [PATCH v2 2/2] fuse: add support for no forget requests yangyun
2024-08-30  9:19 ` [PATCH v2 0/2] fuse: add no forget support Miklos Szeredi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®