diff options
author | Jason Dillaman <dillaman@redhat.com> | 2015-06-25 00:35:58 +0200 |
---|---|---|
committer | Jason Dillaman <dillaman@redhat.com> | 2015-11-06 02:42:40 +0100 |
commit | 8270170f6099189452dfe1df25eed3b77a79c38e (patch) | |
tree | e2390bb299d93cb3d3acee254df15a8996fbc9b5 /src/test/librados_test_stub/TestRadosClient.cc | |
parent | tests: new test for librados AIO notify API (diff) | |
download | ceph-8270170f6099189452dfe1df25eed3b77a79c38e.tar.xz ceph-8270170f6099189452dfe1df25eed3b77a79c38e.zip |
librados_test_stub: add support for new aio_notify API
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Diffstat (limited to 'src/test/librados_test_stub/TestRadosClient.cc')
-rw-r--r-- | src/test/librados_test_stub/TestRadosClient.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/librados_test_stub/TestRadosClient.cc b/src/test/librados_test_stub/TestRadosClient.cc index 46437ac8657..1a9792c6e02 100644 --- a/src/test/librados_test_stub/TestRadosClient.cc +++ b/src/test/librados_test_stub/TestRadosClient.cc @@ -221,6 +221,10 @@ void TestRadosClient::flush_aio_operations(AioCompletionImpl *c) { } } +void TestRadosClient::finish_aio_completion(AioCompletionImpl *c, int r) { + librados::finish_aio_completion(c, r); +} + Finisher *TestRadosClient::get_finisher(const std::string &oid) { std::size_t h = m_hash(oid); return m_finishers[h % m_finishers.size()]; |