From dceb6cfaa7becdcfde8a6398347c41b55959d93a Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Tue, 25 Aug 2015 16:13:08 -0400 Subject: [PATCH] librados_test_stub: added ObjectWriteOperation::tmap_update Signed-off-by: Jason Dillaman --- src/test/librados_test_stub/LibradosTestStub.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/test/librados_test_stub/LibradosTestStub.cc b/src/test/librados_test_stub/LibradosTestStub.cc index 75f7fde46fe6..4725cc3c829e 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)); -- 2.47.3