From: Sage Weil Date: Sat, 14 Dec 2013 00:02:02 +0000 (-0800) Subject: osd/ReplicatedPG: drop unused hit_set_start_stats X-Git-Tag: v0.75~98^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=026b724b0d3fa0f3468f40143dd991d33429071b;p=ceph.git osd/ReplicatedPG: drop unused hit_set_start_stats Signed-off-by: Sage Weil --- diff --git a/src/osd/ReplicatedPG.cc b/src/osd/ReplicatedPG.cc index 04958ab26317..d94668a248fd 100644 --- a/src/osd/ReplicatedPG.cc +++ b/src/osd/ReplicatedPG.cc @@ -8478,7 +8478,6 @@ void ReplicatedPG::hit_set_clear() { dout(20) << __func__ << dendl; hit_set.reset(NULL); - hit_set_start_stats.reset(NULL); hit_set_start_stamp = utime_t(); } @@ -8535,7 +8534,6 @@ void ReplicatedPG::hit_set_create() << " fpp " << p->get_fpp() << dendl; } hit_set.reset(new HitSet(params)); - hit_set_start_stats.reset(new pg_stat_t(info.stats)); hit_set_start_stamp = now; } diff --git a/src/osd/ReplicatedPG.h b/src/osd/ReplicatedPG.h index 12856bbc689a..0b0f0591fcab 100644 --- a/src/osd/ReplicatedPG.h +++ b/src/osd/ReplicatedPG.h @@ -578,7 +578,6 @@ protected: // hot/cold tracking boost::scoped_ptr hit_set; ///< currently accumulating HitSet - boost::scoped_ptr hit_set_start_stats; utime_t hit_set_start_stamp; ///< time the current HitSet started recording void hit_set_clear(); ///< discard any HitSet state