]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: kill the std::stringstream in ReplicatedBackend::do_repop_reply. 24312/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Thu, 27 Sep 2018 20:16:50 +0000 (16:16 -0400)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Thu, 27 Sep 2018 23:04:10 +0000 (19:04 -0400)
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/osd/ReplicatedBackend.cc

index 2227f4767684ae4f098c05500518c8c0943f0fa6..f77f3cce97d2a9b4a84601bc38b1fff05de1e49f 100644 (file)
@@ -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 {