| 4720 | }; |
| 4721 | |
| 4722 | void OSDMap::print_tree(Formatter *f, ostream *out, unsigned filter, string bucket) const |
| 4723 | { |
| 4724 | if (f) { |
| 4725 | OSDTreeFormattingDumper(crush.get(), this, filter).dump(f, bucket); |
| 4726 | } else { |
| 4727 | ceph_assert(out); |
| 4728 | TextTable tbl; |
| 4729 | OSDTreePlainDumper(crush.get(), this, filter).dump(&tbl, bucket); |
| 4730 | *out << tbl; |
| 4731 | } |
| 4732 | } |
| 4733 | |
| 4734 | void OSDMap::print_summary(Formatter *f, ostream& out, |
| 4735 | const string& prefix, bool extra) const |
no test coverage detected