]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: some additional do_recovery debugging
authorSage Weil <sage@newdream.net>
Thu, 31 Jul 2008 14:20:40 +0000 (07:20 -0700)
committerSage Weil <sage@newdream.net>
Thu, 31 Jul 2008 14:20:40 +0000 (07:20 -0700)
src/osd/ReplicatedPG.cc

index fbd4fa1841a54e886841928eb40e16e556083bd8..fd96397a17c0db7157f0b1bd5ce7c46343d4e7e1 100644 (file)
@@ -1703,6 +1703,7 @@ bool ReplicatedPG::do_recovery()
            << osd->num_pulling << "/" << g_conf.osd_max_pull << " total"
            << dendl;
   dout(10) << "do_recovery " << missing << dendl;
+  dout(15) << "do_recovery " << missing.missing << dendl;
 
   // can we slow down on this PG?
   if (osd->num_pulling >= g_conf.osd_max_pull && !pulling.empty()) {
@@ -1720,7 +1721,9 @@ bool ReplicatedPG::do_recovery()
 
     dout(10) << "do_recovery "
              << *log.requested_to
+            << (latest->is_update() ? " (update)":"")
              << (pulling.count(latest->oid) ? " (pulling)":"")
+            << (missing.is_missing(latest->oid) ? " (missing)":"")
              << dendl;
 
     if (latest->is_update() &&