mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: yangyun <yangyun50@huawei.com>
To: Miklos Szeredi <miklos@szeredi.hu>
Cc: <linux-fsdevel@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Subject: [PATCH 0/2] fuse: add no forget support
Date: Fri, 26 Jul 2024 16:37:50 +0800	[thread overview]
Message-ID: <20240726083752.302301-1-yangyun50@huawei.com> (raw)

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


             reply	other threads:[~2024-07-26  8:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-26  8:37 yangyun [this message]
2024-07-26  8:37 ` [PATCH 1/2] fuse: replace fuse_queue_forget with fuse_force_forget if error yangyun
2024-07-26 15:39   ` Josef Bacik
2024-07-27 10:05     ` yangyun
2024-08-22 15:26       ` Miklos Szeredi
2024-08-23 11:58         ` yangyun
2024-07-26  8:37 ` [PATCH 2/2] fuse: add support for no forget requests yangyun
2024-07-26 15:40   ` Josef Bacik
2024-07-27 10:08     ` yangyun

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240726083752.302301-1-yangyun50@huawei.com \
    --to=yangyun50@huawei.com \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miklos@szeredi.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®