From: xiubli@redhat.com
To: ceph-devel@vger.kernel.org
Cc: idryomov@gmail.com, jlayton@kernel.org, vshankar@redhat.com,
mchangir@redhat.com, Xiubo Li <xiubli@redhat.com>
Subject: [PATCH 0/3] ceph: fix caps revocation stuck
Date: Mon, 25 Sep 2023 13:28:07 +0800 [thread overview]
Message-ID: <20230925052810.21914-1-xiubli@redhat.com> (raw)
From: Xiubo Li <xiubli@redhat.com>
Try to issue a check caps immediately when unlinking, else the MDS may
wait for a long time when revoking caps, such as the 'Fx' and 'Fb'.
Xiubo Li (3):
ceph: do not break the loop if CEPH_I_FLUSH is set
ceph: always queue a writeback when revoking the Fb caps
ceph: add ceph_cap_unlink_work to fire check caps immediately
fs/ceph/caps.c | 84 +++++++++++++++++++++++++++-----------------
fs/ceph/mds_client.c | 34 ++++++++++++++++++
fs/ceph/mds_client.h | 4 +++
3 files changed, 89 insertions(+), 33 deletions(-)
--
2.39.1
next reply other threads:[~2023-09-25 5:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-25 5:28 xiubli [this message]
2023-09-25 5:28 ` [PATCH 1/3] ceph: do not break the loop if CEPH_I_FLUSH is set xiubli
2023-09-25 5:28 ` [PATCH 2/3] ceph: always queue a writeback when revoking the Fb caps xiubli
2023-09-25 5:28 ` [PATCH 3/3] ceph: add ceph_cap_unlink_work to fire check caps immediately xiubli
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=20230925052810.21914-1-xiubli@redhat.com \
--to=xiubli@redhat.com \
--cc=ceph-devel@vger.kernel.org \
--cc=idryomov@gmail.com \
--cc=jlayton@kernel.org \
--cc=mchangir@redhat.com \
--cc=vshankar@redhat.com \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).