]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: more heartbeat debug
authorSage Weil <sage@newdream.net>
Fri, 30 Mar 2012 15:45:52 +0000 (08:45 -0700)
committerSage Weil <sage@newdream.net>
Fri, 30 Mar 2012 15:45:52 +0000 (08:45 -0700)
Signed-off-by: Sage Weil <sage@newdream.net>
src/osd/OSD.cc

index efb05573d4e32853f4694531b5dc5e1c65fd8fec..5a2c8cd6a332adfb6a58dbabde79cf02602d2099 100644 (file)
@@ -1555,6 +1555,11 @@ void OSD::handle_osd_ping(MOSDPing *m)
     {
       map<int,HeartbeatInfo>::iterator i = heartbeat_peers.find(from);
       if (i != heartbeat_peers.end()) {
+       dout(25) << "handle_osd_ping got reply from osd." << from
+                << " first_rx " << i->second.first_tx
+                << " last_tx " << i->second.last_tx
+                << " last_rx " << i->second.last_rx << " -> " << m->stamp
+                << dendl;
        i->second.last_rx = m->stamp;
       }