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

Method ms_dispatch

src/test/testmsgr.cc:51–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 }
50private:
51 bool ms_dispatch(Message *m) {
52
53 //cerr << "got ping from " << m->get_source() << std::endl;
54 dout(0) << "got ping from " << m->get_source() << dendl;
55 test_lock.lock();
56 ++received;
57 cond.notify_all();
58 test_lock.unlock();
59
60 m->put();
61 return true;
62 }
63
64 bool ms_handle_reset(Connection *con) { return false; }
65 void ms_handle_remote_reset(Connection *con) {}

Callers

nothing calls this directly

Calls 5

get_sourceMethod · 0.45
lockMethod · 0.45
notify_allMethod · 0.45
unlockMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected