]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/ReplicatedPG: better debug on recover_backfill
authorSage Weil <sage@redhat.com>
Fri, 24 Jul 2015 15:12:52 +0000 (11:12 -0400)
committerSage Weil <sage@redhat.com>
Fri, 7 Aug 2015 14:16:06 +0000 (10:16 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/ReplicatedPG.cc

index 5d895ef0c7cd7f44b908bfe980dd5d905edf09aa..1bfa68b22b630281460740e28de52789aa140805 100644 (file)
@@ -9640,7 +9640,10 @@ int ReplicatedPG::recover_backfill(
 {
   dout(10) << "recover_backfill (" << max << ")"
            << " bft=" << backfill_targets
-          << " last_backfill_started " << last_backfill_started << dendl;
+          << " last_backfill_started " << last_backfill_started
+          << " sort " << (get_sort_bitwise() ? "bitwise" : "nibblewise")
+          << (new_backfill ? " new_backfill":"")
+          << dendl;
   assert(!backfill_targets.empty());
 
   // Initialize from prior backfill state
@@ -9913,6 +9916,7 @@ int ReplicatedPG::recover_backfill(
        i != pending_backfill_updates.end() &&
         cmp(i->first, next_backfill_to_complete, get_sort_bitwise()) < 0;
        pending_backfill_updates.erase(i++)) {
+    dout(20) << " pending_backfill_update " << i->first << dendl;
     assert(cmp(i->first, new_last_backfill, get_sort_bitwise()) > 0);
     for (set<pg_shard_t>::iterator j = backfill_targets.begin();
         j != backfill_targets.end();