mbox series

[0/3] ceph: fix caps revocation stuck

Message ID 20230925052810.21914-1-xiubli@redhat.com (mailing list archive)
Headers show
Series ceph: fix caps revocation stuck | expand

Message

Xiubo Li Sept. 25, 2023, 5:28 a.m. UTC
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(-)