]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/libcephfs: add test case for revoking caps 51500/head
authorXiubo Li <xiubli@redhat.com>
Tue, 11 Oct 2022 04:53:17 +0000 (12:53 +0800)
committerXiubo Li <xiubli@redhat.com>
Mon, 22 May 2023 23:54:30 +0000 (07:54 +0800)
commit3c63980b9d38aa935cf920512e129968c15b5aa9
tree7a782f9c6bd8ac7d4a3bb05b50311d2e02ab2682
parent7aaf4ba81b978db63b9cb11a90f881196530e5d5
test/libcephfs: add test case for revoking caps

When writing to a file and the max_size is approaching the client
will try to trigger to call check_caps() and flush the caps to MDS.
But just in case the MDS is revoking Fsxrw caps, since the client
keeps writing and holding the Fw caps it may only release part of
the caps but the Fw.

Fixes: https://tracker.ceph.com/issues/57244
Signed-off-by: Xiubo Li <xiubli@redhat.com>
src/test/libcephfs/multiclient.cc