From: Samuel Just Date: Sun, 12 Feb 2012 01:52:13 +0000 (-0800) Subject: ReplicatedPG: add debugging for in flight backfill ops X-Git-Tag: v0.43~98^2~6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4785ae39db5b445ce2a245ca243903fb464a41a6;p=ceph.git ReplicatedPG: add debugging for in flight backfill ops Signed-off-by: Samuel Just --- diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index 4d720cc4a806..0212e4f8ff4a 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -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::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) {