Signed-off-by: Sage Weil <sage@inktank.com>
{
dout(20) << __func__ << dendl;
hit_set.reset(NULL);
- hit_set_start_stats.reset(NULL);
hit_set_start_stamp = utime_t();
}
<< " 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;
}
// hot/cold tracking
boost::scoped_ptr<HitSet> hit_set; ///< currently accumulating HitSet
- boost::scoped_ptr<pg_stat_t> hit_set_start_stats;
utime_t hit_set_start_stamp; ///< time the current HitSet started recording
void hit_set_clear(); ///< discard any HitSet state