]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test: add a new program for testing ino_release_cb 34596/head
authorJeff Layton <jlayton@redhat.com>
Tue, 28 Apr 2020 18:00:13 +0000 (14:00 -0400)
committerJeff Layton <jlayton@redhat.com>
Thu, 30 Apr 2020 20:20:01 +0000 (16:20 -0400)
commitc0db8a01f0a04cf9e10f3715bfb802d619bc32b9
tree9fb51feee7c114e753c3b713d25b5ea5430b0c84
parente3b9df78fa42add2dfea1f8bff1e00c832a35697
test: add a new program for testing ino_release_cb

Create a bunch of files and get their inode numbers. Remount, look them
all up by inode number and hold references. Stop looking up inodes as
soon as we get a callback from libcephfs. If we got the callback, return
success. Fail otherwise.

Since this has the same cluster setup as the other client_trim_caps
testcase, we can piggyback onto that task.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
qa/suites/fs/bugs/client_trim_caps/tasks/trim-i22073.yaml
src/test/fs/CMakeLists.txt
src/test/fs/test_ino_release_cb.cc [new file with mode: 0644]