]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/libcephfs: put inodes after lookup 43562/head
authorPatrick Donnelly <pdonnell@redhat.com>
Tue, 14 Sep 2021 17:02:12 +0000 (13:02 -0400)
committerXiubo Li <xiubli@redhat.com>
Fri, 15 Oct 2021 02:40:45 +0000 (10:40 +0800)
commitd7914ed2f30e507b7b1adec521af631d9a531461
treeeb52ddcbd195946e258099a390d67dcf0e18b7aa
parentc84f167a8bf604319b93c3226e189ba87c88cd7b
test/libcephfs: put inodes after lookup

Otherwise, the client umount will hang due to inability to trim the
inodes looked up using the low-level interface. This results in slow-op
warnings and an eviction:

2021-09-11T17:23:31.097+0000 7f99c3522700  0 log_channel(cluster) log [WRN] : evicting unresponsive client smithi176 (9756), after 303.924 seconds
2021-09-11T17:23:31.097+0000 7f99c3522700 10 mds.0.server autoclosing stale session client.9756 172.21.15.176:0/3891214934 last renewed caps 303.924s ago

From: /ceph/teuthology-archive/yuriw-2021-09-11_16:21:09-smoke-pacific-distro-basic-smithi/6385038/remote/smithi175/log/ceph-mds.b.log.gz

Fixes: https://tracker.ceph.com/issues/52572
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit c0252063b94d811dc7863058999856ac5614d1eb)

 Conflicts:
src/test/libcephfs/test.cc
src/test/libcephfs/test.cc