From: Amnon Hanuhov Date: Sat, 19 Jun 2021 14:56:13 +0000 (+0300) Subject: tools/crimson: Use crimson::make_message() in perf_crimson_msgr X-Git-Tag: v17.1.0~1598^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bb71ebbb19e9f239d4d7599acfaf16aaa71ec04e;p=ceph.git tools/crimson: Use crimson::make_message() in perf_crimson_msgr Instead of ceph::make_message() because conn::send() in crimson expects a std::unique_ptr and not boost::intrusive_ptr Signed-off-by: Amnon Hanuhov --- diff --git a/src/tools/crimson/perf_crimson_msgr.cc b/src/tools/crimson/perf_crimson_msgr.cc index e76f273a921..19eada68d13 100644 --- a/src/tools/crimson/perf_crimson_msgr.cc +++ b/src/tools/crimson/perf_crimson_msgr.cc @@ -162,7 +162,7 @@ static seastar::future<> run( const static hobject_t hobj(object_t(), oloc.key, CEPH_NOSNAP, pgid.ps(), pgid.pool(), oloc.nspace); static spg_t spgid(pgid); - auto rep = make_message(0, 0, hobj, spgid, 0, 0, 0); + auto rep = crimson::make_message(0, 0, hobj, spgid, 0, 0, 0); bufferlist data(msg_data); rep->write(0, msg_len, data); rep->set_tid(m->get_tid()); @@ -583,7 +583,7 @@ static seastar::future<> run( const static hobject_t hobj(object_t(), oloc.key, CEPH_NOSNAP, pgid.ps(), pgid.pool(), oloc.nspace); static spg_t spgid(pgid); - auto m = make_message(0, 0, hobj, spgid, 0, 0, 0); + auto m = crimson::make_message(0, 0, hobj, spgid, 0, 0, 0); bufferlist data(msg_data); m->write(0, msg_len, data); // use tid as the identity of each round