From 78f4ada0c976d41f3a964591f4edf76bbc2d6863 Mon Sep 17 00:00:00 2001 From: Yingxin Cheng Date: Mon, 8 Jul 2019 19:33:35 +0800 Subject: [PATCH] test/crimson: track msg with tid in perf_async_msgr fix perf_async_msgr by setting tid for perf_crimson_msgr to track messages. Signed-off-by: Yingxin Cheng --- src/test/crimson/perf_async_msgr.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/crimson/perf_async_msgr.cc b/src/test/crimson/perf_async_msgr.cc index 1d10de6e8cd..aa959073aff 100644 --- a/src/test/crimson/perf_async_msgr.cc +++ b/src/test/crimson/perf_async_msgr.cc @@ -54,6 +54,7 @@ struct Server { MOSDOp *rep = new MOSDOp(0, 0, hobj, spgid, 0, 0, 0); bufferlist data(msg_data); rep->write(0, msg_len, data); + rep->set_tid(m->get_tid()); m->get_connection()->send_message(rep); m->put(); }