From: Igor Fedotov Date: Wed, 21 Feb 2018 20:47:50 +0000 (+0300) Subject: test/fio: fix fio objectstore plugin building broken by X-Git-Tag: v13.0.2~209^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F20514%2Fhead;p=ceph.git test/fio: fix fio objectstore plugin building broken by ObjectStore::queue_transaction interface changes. Signed-off-by: Igor Fedotov "ifedotov@suse.com" --- diff --git a/src/test/fio/fio_ceph_objectstore.cc b/src/test/fio/fio_ceph_objectstore.cc index 7d573ca86806..784b94f93ca2 100644 --- a/src/test/fio/fio_ceph_objectstore.cc +++ b/src/test/fio/fio_ceph_objectstore.cc @@ -667,10 +667,9 @@ int fio_ceph_os_queue(thread_data* td, io_u* u) ghobject_t pgmeta_oid(coll.pg.make_pgmeta_oid()); t.omap_setkeys(coll.cid, pgmeta_oid, omaps); } + t.register_on_commit(new UnitComplete(u)); os->queue_transaction(coll.ch, - std::move(t), - nullptr, - new UnitComplete(u)); + std::move(t)); return FIO_Q_QUEUED; }