]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mds: add the revoking caps back to _revokes list
authorXiubo Li <xiubli@redhat.com>
Thu, 2 Mar 2023 14:01:08 +0000 (22:01 +0800)
committerXiubo Li <xiubli@redhat.com>
Wed, 23 Aug 2023 09:28:29 +0000 (17:28 +0800)
commit57ae8604d9724c97215c5ff0148e5b2e972954e5
tree45cb2dfcdfcb6020cccf37ef8064a67f27615a0d
parentbd6eae2a9e37320bf93efd28df38d764a5edd130
mds: add the revoking caps back to _revokes list

When revoking caps from clients and if the clients could release
some of the caps references and the clients still could send cap
update request back to MDS, while the confirm_receipt() will clear
the _revokes list anyway.

But this cap will still be kept in revoking_caps list.

At the same time add one debug log when revocation is not totally
finished.

Fixes: https://tracker.ceph.com/issues/57244
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit 0454c449132abd1499d671990d680bd0794abc5a)
src/mds/Capability.cc