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

Method init

src/client/Client.cc:659–672  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

657}
658
659int Client::init()
660{
661 RWRef_t iref_writer(initialize_state, CLIENT_INITIALIZING, false);
662 ceph_assert(iref_writer.is_first_writer());
663
664 _pre_init();
665 {
666 std::scoped_lock l{client_lock};
667 messenger->add_dispatcher_tail(this);
668 }
669 _finish_init();
670 iref_writer.update_state(CLIENT_INITIALIZED);
671 return 0;
672}
673
674void Client::_finish_init()
675{

Callers 5

_pre_initMethod · 0.45
_writeMethod · 0.45
runMethod · 0.45

Calls 10

is_first_writerMethod · 0.80
add_dispatcher_tailMethod · 0.80
update_stateMethod · 0.45
get_capsMethod · 0.45
lockMethod · 0.45
set_want_keysMethod · 0.45
shutdownMethod · 0.45
unlockMethod · 0.45
stopMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected