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

Method fault

src/msg/async/AsyncConnection.cc:618–630  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

616}
617
618void AsyncConnection::fault()
619{
620 shutdown_socket();
621 open_write = false;
622
623 // queue delayed items immediately
624 if (delay_state)
625 delay_state->flush();
626
627 recv_start = recv_end = 0;
628 state_offset = 0;
629 outgoing_bl.clear();
630}
631
632void AsyncConnection::_stop() {
633 writeCallback = {};

Callers 2

processMethod · 0.45
tickMethod · 0.45

Calls 2

flushMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected