From: Sage Weil Date: Tue, 16 Jul 2013 21:17:05 +0000 (-0700) Subject: msg/Pipe: a bit of additional debug output X-Git-Tag: v0.61.8~23^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=45bda482fa8a23f4b80d115e29d6f04cb5e226d6;p=ceph.git msg/Pipe: a bit of additional debug output Signed-off-by: Sage Weil (cherry picked from commit 16568d9e1fb8ac0c06ebaa1e1dc1d6a432a5e4d4) --- diff --git a/src/msg/Pipe.cc b/src/msg/Pipe.cc index c47ac6b5dfd1..fbf28f8ce98b 100644 --- a/src/msg/Pipe.cc +++ b/src/msg/Pipe.cc @@ -341,8 +341,11 @@ int Pipe::accept() set_peer_type(connect.host_type); policy = msgr->get_policy(connect.host_type); ldout(msgr->cct,10) << "accept of host_type " << connect.host_type - << ", policy.lossy=" << policy.lossy - << dendl; + << ", policy.lossy=" << policy.lossy + << " policy.server=" << policy.server + << " policy.standby=" << policy.standby + << " policy.resetcheck=" << policy.resetcheck + << dendl; memset(&reply, 0, sizeof(reply)); reply.protocol_version = msgr->get_proto_version(peer_type, false); @@ -1014,6 +1017,8 @@ int Pipe::connect() ldout(msgr->cct,2) << "connect read error on newly_acked_seq" << dendl; goto fail_locked; } + ldout(msgr->cct,2) << " got newly_acked_seq " << newly_acked_seq + << " vs out_seq " << out_seq << dendl; while (newly_acked_seq > out_seq) { Message *m = _get_next_outgoing(); assert(m);