| 2676 | ceph_abort("should use async hook"); |
| 2677 | } |
| 2678 | void call_async( |
| 2679 | std::string_view prefix, |
| 2680 | const cmdmap_t& cmdmap, |
| 2681 | Formatter *f, |
| 2682 | const bufferlist& inbl, |
| 2683 | asok_finisher on_finish) override { |
| 2684 | try { |
| 2685 | osd->asok_command(prefix, cmdmap, f, inbl, on_finish); |
| 2686 | } catch (const TOPNSPC::common::bad_cmd_get& e) { |
| 2687 | bufferlist empty; |
| 2688 | on_finish(-EINVAL, e.what(), empty); |
| 2689 | } |
| 2690 | } |
| 2691 | }; |
| 2692 | |
| 2693 | std::set<int64_t> OSD::get_mapped_pools() |
nothing calls this directly
no test coverage detected