]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
OSD::_share_map_incoming: line wrap debug output
authorSamuel Just <sam.just@inktank.com>
Fri, 8 Nov 2013 20:39:49 +0000 (12:39 -0800)
committerGreg Farnum <greg@inktank.com>
Mon, 5 May 2014 22:29:14 +0000 (15:29 -0700)
Formatting only.

Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Greg Farnum <greg@inktank.com>
src/osd/OSD.cc

index 4240ba8546eb3646aeb6bc6c46b43b239f821da1..8c1c59758238c2af770f460e4b01a4cbc3df3d32 100644 (file)
@@ -4617,8 +4617,9 @@ void OSD::forget_peer_epoch(int peer, epoch_t as_of)
 bool OSD::_share_map_incoming(entity_name_t name, Connection *con, epoch_t epoch, Session* session)
 {
   bool shared = false;
-  dout(20) << "_share_map_incoming " << name << " " << con->get_peer_addr() << " " << epoch << dendl;
-  //assert(osd_lock.is_locked());
+  dout(20) << "_share_map_incoming "
+          << name << " " << con->get_peer_addr()
+          << " " << epoch << dendl;
 
   assert(is_active());
 
@@ -4630,11 +4631,13 @@ bool OSD::_share_map_incoming(entity_name_t name, Connection *con, epoch_t epoch
        session->last_sent_epoch = osdmap->get_epoch();
       } else {
        sendmap = false; //we don't need to send it out again
-       dout(15) << name << " already sent incremental to update from epoch "<< epoch << dendl;
+       dout(15) << name << " already sent incremental to update from epoch "
+                << epoch << dendl;
       }
     }
     if (sendmap) {
-      dout(10) << name << " has old map " << epoch << " < " << osdmap->get_epoch() << dendl;
+      dout(10) << name << " has old map " << epoch
+              << " < " << osdmap->get_epoch() << dendl;
       send_incremental_map(epoch, con);
       shared = true;
     }
@@ -4650,7 +4653,9 @@ bool OSD::_share_map_incoming(entity_name_t name, Connection *con, epoch_t epoch
 
     // share?
     if (has < osdmap->get_epoch()) {
-      dout(10) << name << " " << con->get_peer_addr() << " has old map " << epoch << " < " << osdmap->get_epoch() << dendl;
+      dout(10) << name << " " << con->get_peer_addr()
+              << " has old map " << epoch << " < "
+              << osdmap->get_epoch() << dendl;
       note_peer_epoch(name.num(), osdmap->get_epoch());
       send_incremental_map(epoch, con);
       shared = true;