From: Jason Dillaman Date: Thu, 19 Mar 2015 20:28:34 +0000 (-0400) Subject: librados_test_stub: add another overload of aio_operate X-Git-Tag: v9.0.1~149^2~13 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=844136d07f086b002e7a42972505854e65d10d5c;p=ceph.git librados_test_stub: add another overload of aio_operate Signed-off-by: Jason Dillaman --- diff --git a/src/test/librados_test_stub/LibradosTestStub.cc b/src/test/librados_test_stub/LibradosTestStub.cc index f9cf32bb0797..51b9d85c2d45 100644 --- a/src/test/librados_test_stub/LibradosTestStub.cc +++ b/src/test/librados_test_stub/LibradosTestStub.cc @@ -310,6 +310,11 @@ int IoCtx::aio_flush_async(AioCompletion *c) { return 0; } +int IoCtx::aio_operate(const std::string& oid, AioCompletion *c, + ObjectReadOperation *op, bufferlist *pbl) { + return aio_operate(oid, c, op, 0, pbl); +} + int IoCtx::aio_operate(const std::string& oid, AioCompletion *c, ObjectReadOperation *op, int flags, bufferlist *pbl) {