From: Jason Dillaman Date: Tue, 25 Aug 2015 20:13:08 +0000 (-0400) Subject: librados_test_stub: added ObjectWriteOperation::tmap_update X-Git-Tag: v10.0.2~193^2~13 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=dceb6cfaa7becdcfde8a6398347c41b55959d93a;p=ceph.git librados_test_stub: added ObjectWriteOperation::tmap_update Signed-off-by: Jason Dillaman --- diff --git a/src/test/librados_test_stub/LibradosTestStub.cc b/src/test/librados_test_stub/LibradosTestStub.cc index 75f7fde46fe..4725cc3c829 100644 --- a/src/test/librados_test_stub/LibradosTestStub.cc +++ b/src/test/librados_test_stub/LibradosTestStub.cc @@ -731,6 +731,13 @@ void ObjectWriteOperation::set_alloc_hint(uint64_t expected_object_size, expected_object_size, expected_write_size)); } + +void ObjectWriteOperation::tmap_update(const bufferlist& cmdbl) { + TestObjectOperationImpl *o = reinterpret_cast(impl); + o->ops.push_back(boost::bind(&TestIoCtxImpl::tmap_update, _1, _2, + cmdbl)); +} + void ObjectWriteOperation::truncate(uint64_t off) { TestObjectOperationImpl *o = reinterpret_cast(impl); o->ops.push_back(boost::bind(&TestIoCtxImpl::truncate, _1, _2, off, _4));