]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: some comment, debug output cleanup
authorSage Weil <sage.weil@dreamhost.com>
Thu, 5 May 2011 17:55:30 +0000 (10:55 -0700)
committerSage Weil <sage.weil@dreamhost.com>
Thu, 5 May 2011 17:55:30 +0000 (10:55 -0700)
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/osd/PG.cc

index 3fcace8d3fd9ad3ef829d5e53eb83fab00692dc4..d1ac5a622e4c6f0566abd5b7ff517806856a941f 100644 (file)
@@ -3408,7 +3408,7 @@ void PG::warm_restart(const OSDMap& lastmap, const vector<int>& newup, const vec
       info.history.same_primary_since = osdmap.get_epoch();
     }
 
-    dout(10) << *this << " noting past " << i << dendl;
+    dout(10) << " noting past " << i << dendl;
     dirty_info = true;
   }
 
@@ -4380,8 +4380,8 @@ PG::RecoveryState::GetMissing::GetMissing(my_context ctx) : my_base(ctx)
       continue;
     }
 
-    // FIXME: do we really need to request the whole log here?  can we
-    //        build peer_missing with less?
+    // We pull the log from the peer's last_epoch_started to ensure we
+    // get enough log to detect divergent updates.
     dout(10) << " requesting missing from osd" << *i << dendl;
     context< RecoveryMachine >().send_query(*i,
       Query(Query::LOG,