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.67-rc1~42^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=16568d9e1fb8ac0c06ebaa1e1dc1d6a432a5e4d4;p=ceph.git msg/Pipe: a bit of additional debug output Signed-off-by: Sage Weil --- diff --git a/src/msg/Pipe.cc b/src/msg/Pipe.cc index 3fba9a7e41ba..e3600c8e2e67 100644 --- a/src/msg/Pipe.cc +++ b/src/msg/Pipe.cc @@ -339,8 +339,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); @@ -1019,6 +1022,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);