#include "include/unordered_set.h"
#include "common/Mutex.h"
-#include "include/atomic.h"
#include "include/Spinlock.h"
#include "common/Cond.h"
#include "common/Thread.h"
* @{
*/
void set_addr_unknowns(const entity_addr_t& addr) override;
+ void set_addr(const entity_addr_t &addr) override;
int get_dispatch_queue_len() override {
return dispatch_queue.get_queue_len();
if (p == rank_pipe.end())
return NULL;
// see lock cribbing in Pipe::fault()
- if (p->second->state_closed.read())
+ if (p->second->state_closed)
return NULL;
return p->second;
}
/**
* This wraps ms_deliver_verify_authorizer; we use it for Pipe.
*/
- bool verify_authorizer(Connection *con, int peer_type, int protocol, bufferlist& auth, bufferlist& auth_reply,
- bool& isvalid,CryptoKey& session_key);
+ bool verify_authorizer(Connection *con, int peer_type, int protocol, bufferlist& auth,
+ bufferlist& auth_reply,
+ bool& isvalid,CryptoKey& session_key,
+ std::unique_ptr<AuthAuthorizerChallenge> *challenge);
/**
* Increment the global sequence for this SimpleMessenger and return it.
* This is for the connect protocol, although it doesn't hurt if somebody