MgrClient mgr_client;
uint64_t mgr_proxy_bytes = 0; // in-flight proxied mgr command message bytes
- PGStatService *pgservice;
+ const PGStatService *pgservice;
private:
void new_tick();
const OSDMap& osdmap,
Formatter *f,
stringstream *ss,
- bufferlist *odata) override {
+ bufferlist *odata) const override {
return process_pg_map_command(prefix, cmdmap, pgmap, osdmap, f, ss, odata);
}
mempool::osdmap::map<int32_t, uint32_t>* new_weights,
std::stringstream *ss,
std::string *out_str,
- Formatter *f) override {
+ Formatter *f) const override {
return reweight::by_utilization(osd_map, pgmap, oload, max_changef,
max_osds, by_pg, pools, no_increasing,
new_weights, ss, out_str, f);
const OSDMap& osdmap,
Formatter *f,
stringstream *ss,
- bufferlist *odata) {
+ bufferlist *odata) const {
ceph_abort();
}
mempool::osdmap::map<int32_t, uint32_t>* new_weights,
std::stringstream *ss,
std::string *out_str,
- Formatter *f) {
+ Formatter *f) const {
ceph_abort();
}
};