From: Radoslaw Zarzynski Date: Thu, 27 Sep 2018 20:16:50 +0000 (-0400) Subject: osd: kill the std::stringstream in ReplicatedBackend::do_repop_reply. X-Git-Tag: v14.0.1~57^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=642c4c3211ccfca4b25bc464a83eccfedcde5864;p=ceph.git osd: kill the std::stringstream in ReplicatedBackend::do_repop_reply. Signed-off-by: Radoslaw Zarzynski --- diff --git a/src/osd/ReplicatedBackend.cc b/src/osd/ReplicatedBackend.cc index 2227f476768..f77f3cce97d 100644 --- a/src/osd/ReplicatedBackend.cc +++ b/src/osd/ReplicatedBackend.cc @@ -567,9 +567,7 @@ void ReplicatedBackend::do_repop_reply(OpRequestRef op) ceph_assert(ip_op.waiting_for_commit.count(from)); ip_op.waiting_for_commit.erase(from); if (ip_op.op) { - ostringstream ss; - ss << "sub_op_commit_rec from " << from; - ip_op.op->mark_event_string(ss.str()); + ip_op.op->mark_event_string("sub_op_commit_rec"); ip_op.op->pg_trace.event("sub_op_commit_rec"); } } else {