From: Xiubo Li Date: Tue, 4 Jun 2024 01:28:19 +0000 (+0800) Subject: msg: decrease the level to print the sending msgs from the protocol X-Git-Tag: testing/wip-pdonnell-testing-20240703.143006-debug~1^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=2ea33487c98df82e1fa589e77d6f299dc48feba4;p=ceph-ci.git msg: decrease the level to print the sending msgs from the protocol We have hitting the issue, which is the messages are stuck in the sender queue, many times. We just suspect it's a bug of the protocol code and we need to know exactly whether the msgs are sent out or not. Related: https://tracker.ceph.com/issues/65309 Signed-off-by: Xiubo Li --- diff --git a/src/msg/async/ProtocolV1.cc b/src/msg/async/ProtocolV1.cc index 041942fd906..28528de895a 100644 --- a/src/msg/async/ProtocolV1.cc +++ b/src/msg/async/ProtocolV1.cc @@ -1173,8 +1173,8 @@ ssize_t ProtocolV1::write_message(Message *m, ceph::buffer::list &bl, bool more) } m->trace.event("async writing message"); - ldout(cct, 20) << __func__ << " sending " << m->get_seq() << " " << m - << dendl; + ldout(cct, 2) << __func__ << " sending message m=" << m + << " seq=" << m->get_seq() << " " << *m << dendl; ssize_t total_send_size = connection->outgoing_bl.length(); ssize_t rc = connection->_try_send(more); if (rc < 0) { diff --git a/src/msg/async/ProtocolV2.cc b/src/msg/async/ProtocolV2.cc index 7c4a4d0fe94..825617e8437 100644 --- a/src/msg/async/ProtocolV2.cc +++ b/src/msg/async/ProtocolV2.cc @@ -551,7 +551,7 @@ ssize_t ProtocolV2::write_message(Message *m, bool more) { return -EILSEQ; } - ldout(cct, 5) << __func__ << " sending message m=" << m + ldout(cct, 2) << __func__ << " sending message m=" << m << " seq=" << m->get_seq() << " " << *m << dendl; m->trace.event("async writing message");