]> git-server-git.apps.pok.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, 8 Mar 2023 13:45:03 +0000 (21:45 +0800)
commitbb4fdf82530ed6946ae01ef4e29ad2071b56ef09
tree1bda8bec0e1e3b7d7d3ec355fcc5cec309877d7f
parent6b34d964aba08343f5bfdd4cbcb6159e9675774a
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>
src/mds/Capability.cc