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

Method ready

src/msg/async/AsyncMessenger.cc:464–481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462}
463
464void AsyncMessenger::ready()
465{
466 ldout(cct,10) << __func__ << " " << get_myaddrs() << dendl;
467
468 stack->ready();
469 if (pending_bind) {
470 int err = bindv(pending_bind_addrs, saved_public_addrs);
471 if (err) {
472 lderr(cct) << __func__ << " postponed bind failed" << dendl;
473 ceph_abort();
474 }
475 }
476
477 std::lock_guard l{lock};
478 for (auto &&p : processors)
479 p->start();
480 dispatch_queue.start();
481}
482
483int AsyncMessenger::shutdown()
484{

Callers 1

AsyncMessengerMethod · 0.45

Calls 1

startMethod · 0.45

Tested by

no test coverage detected