]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test: add missing ceph_ll_close calls
authorJeff Layton <jlayton@redhat.com>
Thu, 8 Dec 2016 19:24:04 +0000 (14:24 -0500)
committerJeff Layton <jlayton@redhat.com>
Thu, 8 Dec 2016 19:24:04 +0000 (14:24 -0500)
commit18e3f9c17bfca68abaa5a5a2cdfaab702e75d78a
treef313a0b44c10ec4fe78a298b66d22f0ee0a07572
parentfe814e78b99380b5bd4c093f9f6e1f8746dba3b7
test: add missing ceph_ll_close calls

There's a noticable up to tick-length hang that occurs when you call
ceph_shutdown with open files still in play. Ensure that we always
call ceph_ll_close after a successful ceph_ll_create.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
src/test/libcephfs/recordlock.cc
src/test/libcephfs/test.cc