From: Sage Weil Date: Wed, 21 Jun 2017 21:50:59 +0000 (-0400) Subject: mon/PGMap: slightly better debugging around pgmap updates X-Git-Tag: ses5-milestone7~3^2~19^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e6d2c0052ddcc00abbbd1f93defedb880211871f;p=ceph.git mon/PGMap: slightly better debugging around pgmap updates Signed-off-by: Sage Weil --- diff --git a/src/mon/PGMap.cc b/src/mon/PGMap.cc index c0277b7a518a..91e06fb99e6c 100644 --- a/src/mon/PGMap.cc +++ b/src/mon/PGMap.cc @@ -3410,9 +3410,12 @@ void PGMapUpdater::check_osd_map( my_pg_num = q->second; unsigned pg_num = pi.get_pg_num(); if (my_pg_num != pg_num) { + ldout(cct,10) << __func__ << " pool " << poolid << " pg_num " << pg_num + << " != my pg_num " << my_pg_num << dendl; for (unsigned ps = my_pg_num; ps < pg_num; ++ps) { pg_t pgid(ps, poolid); if (pending_inc->pg_stat_updates.count(pgid) == 0) { + ldout(cct,20) << __func__ << " adding " << pgid << dendl; pg_stat_t &stats = pending_inc->pg_stat_updates[pgid]; stats.last_fresh = osdmap.get_modified(); stats.last_active = osdmap.get_modified();