summaryrefslogtreecommitdiffstats
path: root/src/test/librados_test_stub/TestRadosClient.cc
diff options
context:
space:
mode:
authorJason Dillaman <dillaman@redhat.com>2015-06-25 00:35:58 +0200
committerJason Dillaman <dillaman@redhat.com>2015-11-06 02:42:40 +0100
commit8270170f6099189452dfe1df25eed3b77a79c38e (patch)
treee2390bb299d93cb3d3acee254df15a8996fbc9b5 /src/test/librados_test_stub/TestRadosClient.cc
parenttests: new test for librados AIO notify API (diff)
downloadceph-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.cc4
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()];