| 4059 | } |
| 4060 | |
| 4061 | void OSDMap::dump_pool(CephContext *cct, |
| 4062 | int64_t pid, |
| 4063 | const pg_pool_t &pdata, |
| 4064 | ceph::Formatter *f) const |
| 4065 | { |
| 4066 | std::string name("<unknown>"); |
| 4067 | const auto &pni = pool_name.find(pid); |
| 4068 | if (pni != pool_name.end()) |
| 4069 | name = pni->second; |
| 4070 | f->open_object_section("pool"); |
| 4071 | f->dump_int("pool", pid); |
| 4072 | f->dump_string("pool_name", name); |
| 4073 | pdata.dump(f); |
| 4074 | dump_read_balance_score(cct, pid, pdata, f); |
| 4075 | f->close_section(); // pool |
| 4076 | } |
| 4077 | |
| 4078 | void OSDMap::dump_read_balance_score(CephContext *cct, |
| 4079 | int64_t pid, |
nothing calls this directly
no test coverage detected