MCPcopy Create free account
hub / github.com/ceph/ceph / call_async

Method call_async

src/osd/OSD.cc:2678–2690  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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
2693std::set<int64_t> OSD::get_mapped_pools()

Callers

nothing calls this directly

Calls 2

asok_commandMethod · 0.45
whatMethod · 0.45

Tested by

no test coverage detected