ldout(async_msgr->cct, 10) << __func__ << " no session security set" << dendl;
} else {
if (session_security->check_message_signature(message)) {
- ldout(async_msgr->cct, 0) << __func__ << "Signature check failed" << dendl;
+ ldout(async_msgr->cct, 0) << __func__ << " Signature check failed" << dendl;
message->put();
goto fail;
}
connect_msg.authorizer_protocol = authorizer ? authorizer->protocol : 0;
connect_msg.authorizer_len = authorizer ? authorizer->bl.length() : 0;
if (authorizer)
- ldout(async_msgr->cct, 10) << __func__ << "connect_msg.authorizer_len="
- << connect_msg.authorizer_len << " protocol="
- << connect_msg.authorizer_protocol << dendl;
+ ldout(async_msgr->cct, 10) << __func__ << " connect_msg.authorizer_len="
+ << connect_msg.authorizer_len << " protocol="
+ << connect_msg.authorizer_protocol << dendl;
connect_msg.flags = 0;
if (policy.lossy)
connect_msg.flags |= CEPH_MSG_CONNECT_LOSSY; // this is fyi, actually, server decides!
state = STATE_CONNECTING_SEND_CONNECT_MSG;
}
if (reply.tag == CEPH_MSGR_TAG_RESETSESSION) {
- ldout(async_msgr->cct, 0) << __func__ << "connect got RESETSESSION" << dendl;
+ ldout(async_msgr->cct, 0) << __func__ << " connect got RESETSESSION" << dendl;
was_session_reset();
state = STATE_CONNECTING_SEND_CONNECT_MSG;
}
goto replace;
} else {
// our existing outgoing wins
- ldout(async_msgr->cct,10) << __func__ << "accept connection race, existing "
+ ldout(async_msgr->cct,10) << __func__ << " accept connection race, existing "
<< existing << ".cseq " << existing->connect_seq
<< " == " << connect.connect_seq << ", sending WAIT" << dendl;
assert(peer_addr > async_msgr->get_myaddr());
if (!once_ready && !is_queued() &&
state >=STATE_ACCEPTING && state <= STATE_ACCEPTING_WAIT_CONNECT_MSG_AUTH) {
ldout(async_msgr->cct, 0) << __func__ << " with nothing to send and in the half "
- << "accept state just closed, state="
+ << " accept state just closed, state="
<< get_state_name(state) << dendl;
center->dispatch_event_external(reset_handler);
_stop();
void AsyncConnection::handle_ack(uint64_t seq)
{
- lsubdout(async_msgr->cct, ms, 15) << __func__ << " got ack seq " << seq << dendl;
+ ldout(async_msgr->cct, 15) << __func__ << " got ack seq " << seq << dendl;
// trim sent list
while (!sent.empty() && sent.front()->get_seq() <= seq) {
Message *m = sent.front();
sent.pop_front();
- lsubdout(async_msgr->cct, ms, 10) << __func__ << "reader got ack seq "
- << seq << " >= " << m->get_seq() << " on "
- << m << " " << *m << dendl;
+ ldout(async_msgr->cct, 10) << __func__ << " got ack seq "
+ << seq << " >= " << m->get_seq() << " on "
+ << m << " " << *m << dendl;
m->put();
}
}