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

Method _send_command

src/osdc/Objecter.cc:5390–5401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5388}
5389
5390void Objecter::_send_command(CommandOp *c)
5391{
5392 ldout(cct, 10) << "_send_command " << c->tid << dendl;
5393 ceph_assert(c->session);
5394 ceph_assert(c->session->con);
5395 auto m = new MCommand(monc->monmap.fsid);
5396 m->cmd = c->cmd;
5397 m->set_data(c->inbl);
5398 m->set_tid(c->tid);
5399 c->session->con->send_message(m);
5400 logger->inc(l_osdc_command_send);
5401}
5402
5403int Objecter::command_op_cancel(OSDSession *s, ceph_tid_t tid,
5404 bs::error_code ec)

Callers

nothing calls this directly

Calls 4

set_dataMethod · 0.45
set_tidMethod · 0.45
send_messageMethod · 0.45
incMethod · 0.45

Tested by

no test coverage detected