]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ReplicatedPG: add debugging for in flight backfill ops
authorSamuel Just <samuel.just@dreamhost.com>
Sun, 12 Feb 2012 01:52:13 +0000 (17:52 -0800)
committerSage Weil <sage@newdream.net>
Mon, 13 Feb 2012 19:26:52 +0000 (11:26 -0800)
Signed-off-by: Samuel Just <samuel.just@dreamhost.com>
src/osd/ReplicatedPG.cc

index 4d720cc4a8065c1210b1477eb25c4ac6f7fd92a2..0212e4f8ff4a46b8bf05c18642284d956576bb0c 100644 (file)
@@ -5674,6 +5674,14 @@ int ReplicatedPG::recover_backfill(int max)
     push_backfill_object(i->first, i->second.first, i->second.second, backfill_target);
   }
 
+  dout(5) << "backfill_pos is " << backfill_pos << " and pinfo.last_backfill is "
+         << pinfo.last_backfill << dendl;
+  for (set<hobject_t>::iterator i = backfills_in_flight.begin();
+       i != backfills_in_flight.end();
+       ++i) {
+    dout(20) << *i << " is still in flight" << dendl;
+  }
+
   hobject_t bound = backfills_in_flight.size() ?
     *(backfills_in_flight.begin()) : backfill_pos;
   if (bound > pinfo.last_backfill) {