]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
msg/Pipe: a bit of additional debug output
authorSage Weil <sage@inktank.com>
Tue, 16 Jul 2013 21:17:05 +0000 (14:17 -0700)
committerSage Weil <sage@inktank.com>
Wed, 17 Jul 2013 21:39:04 +0000 (14:39 -0700)
Signed-off-by: Sage Weil <sage@inktank.com>
src/msg/Pipe.cc

index 3fba9a7e41ba51fd3dae46437fc63967cf014713..e3600c8e2e67cf0c37cad67d403ddd5146061064 100644 (file)
@@ -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);