]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: flush the caps release in filesystem sync 58896/head
authorXiubo Li <xiubli@redhat.com>
Mon, 29 Jul 2024 06:20:41 +0000 (14:20 +0800)
committerVenky Shankar <vshankar@redhat.com>
Fri, 16 Aug 2024 02:57:44 +0000 (08:27 +0530)
commitb5bfc4526a2eb242ee580f6908bd9a980a5cf51c
tree8112107676dc86fd2efe21849083b4322b6d63af
parentcd8bdbeb9fbdab5733aa3aaadc042c965473e453
client: flush the caps release in filesystem sync

We have hit a race between cap releases and cap revoke request
that will cause the check_caps() to miss sending a cap revoke ack
to MDS. And the client will depend on the cap release to release
that revoking caps, which could be delayed for some unknown reasons.

In Kclient we have figured out the RCA about race and we need
a way to explictly trigger this manually could help to get rid
of the caps revoke stuck issue.

Fixes: https://tracker.ceph.com/issues/67221
Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/client/Client.cc