]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/OSDMonitor: print pgid before looking it up in mapping
authorKefu Chai <kchai@redhat.com>
Thu, 1 Jun 2017 07:14:27 +0000 (15:14 +0800)
committerSage Weil <sage@redhat.com>
Fri, 2 Jun 2017 17:06:48 +0000 (13:06 -0400)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/mon/OSDMonitor.cc

index 1b9877f63339302ccde641b0cd111453136b805b..b74853f1a27a7b26aef3f72593e3cf8ceb2e9cc6 100644 (file)
@@ -3290,6 +3290,7 @@ void OSDMonitor::update_creating_pgs()
     int acting_primary = -1;
     auto pgid = pg.first;
     auto mapped = pg.second.first;
+    dout(20) << __func__ << " looking up " << pgid << dendl;
     mapping.get(pgid, nullptr, nullptr, nullptr, &acting_primary);
     // check the previous creating_pgs, look for the target to whom the pg was
     // previously mapped