//void PGMonitor::dump_object_stat_sum(stringstream& ss, Formatter *f,
void PGMonitor::dump_object_stat_sum(TextTable &tbl, Formatter *f,
object_stat_sum_t &sum, uint64_t avail,
- float raw_used_rate, bool verbose, const pg_pool_t *pool) const
+ float raw_used_rate, bool verbose, const pg_pool_t *pool)
{
float curr_object_copies_rate = 0.0;
if (sum.num_object_copies > 0)
int threshold,
vector<string>& args) const;
- void dump_object_stat_sum(TextTable &tbl, Formatter *f,
- object_stat_sum_t &sum,
- uint64_t avail,
- float raw_used_rate,
- bool verbose, const pg_pool_t *pool) const;
+ static void dump_object_stat_sum(TextTable &tbl, Formatter *f,
+ object_stat_sum_t &sum,
+ uint64_t avail,
+ float raw_used_rate,
+ bool verbose, const pg_pool_t *pool);
int64_t get_rule_avail(OSDMap& osdmap, int ruleno) const;