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

Method get_daemon

src/mgr/ServiceMap.h:59–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 static std::list<ServiceMap> generate_test_instances();
58
59 std::pair<Daemon*,bool> get_daemon(const std::string& service,
60 const std::string& daemon) {
61 auto& s = services[service];
62 auto [d, added] = s.daemons.try_emplace(daemon);
63 return {&d->second, added};
64 }
65
66 bool rm_daemon(const std::string& service,
67 const std::string& daemon) {

Callers 15

run_pykmipFunction · 0.45
kill_mdsMethod · 0.45
revive_mdsMethod · 0.45
kill_osdMethod · 0.45
blackhole_kill_osdMethod · 0.45
revive_osdMethod · 0.45
signal_osdMethod · 0.45
signal_monMethod · 0.45
kill_monMethod · 0.45
revive_monMethod · 0.45
revive_mgrMethod · 0.45

Calls 1

try_emplaceMethod · 0.45

Tested by 1

__init__Method · 0.36