From: Sage Weil Date: Tue, 18 Jun 2013 22:22:35 +0000 (-0700) Subject: mon/PGMonitor: drop some dead code X-Git-Tag: v0.67-rc1~175^2~17 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0d73eb4dad937b513d40d2a0a7645323db3fb860;p=ceph.git mon/PGMonitor: drop some dead code Signed-off-by: Sage Weil --- diff --git a/src/mon/PGMonitor.cc b/src/mon/PGMonitor.cc index 2540a7245da2..5f37729559b9 100644 --- a/src/mon/PGMonitor.cc +++ b/src/mon/PGMonitor.cc @@ -517,18 +517,6 @@ bool PGMonitor::prepare_pg_stats(MPGStats *stats) else dout(10) << " got osd." << from << " " << stats->osd_stat << " (first report)" << dendl; - // apply to live map too (screw consistency) - /* - actually, no, don't. that screws up our "latest" stash. and can - lead to weird output where things appear to jump backwards in - time... that's just confusing. - - if (pg_map.osd_stat.count(from)) - pg_map.stat_osd_sub(pg_map.osd_stat[from]); - pg_map.osd_stat[from] = stats->osd_stat; - pg_map.stat_osd_add(stats->osd_stat); - */ - // pg stats MPGStatsAck *ack = new MPGStatsAck; ack->set_tid(stats->get_tid());