]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: force sending cap revoke ack always 52175/head
authorXiubo Li <xiubli@redhat.com>
Wed, 28 Jun 2023 13:59:53 +0000 (21:59 +0800)
committerXiubo Li <xiubli@redhat.com>
Wed, 28 Jun 2023 13:59:53 +0000 (21:59 +0800)
commit09a2e33c4aca6e72d75e2527ab5f467576d55dc8
tree999aba8a30ed4c93e0fc25a006f0fa9185cc2be4
parentf72990b4518b414b5ab8b6dcdee17da156d3d9fd
client: force sending cap revoke ack always

If just before the revoke request, which will increase the 'seq', is
sent out the clients released the corresponding caps and sent out
the cap update request with old 'seq', the mds will miss checking
the seqs and calculating the caps.

We should always send an ack for revoke requests.

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