From bb71ebbb19e9f239d4d7599acfaf16aaa71ec04e Mon Sep 17 00:00:00 2001 From: Amnon Hanuhov Date: Sat, 19 Jun 2021 17:56:13 +0300 Subject: [PATCH] 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 --- src/tools/crimson/perf_crimson_msgr.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/crimson/perf_crimson_msgr.cc b/src/tools/crimson/perf_crimson_msgr.cc index e76f273a921f2..19eada68d13f6 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 -- 2.39.5