From: Xiubo Li <xiubli@xxxxxxxxxx> 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