* Foundation. See file COPYING.
*
*/
+#include <string>
#include "QueueStrategy.h"
#define dout_subsys ceph_subsys_ms
#include "common/debug.h"
assert(!stop);
lock.Lock();
for (int ix = 0; ix < n_threads; ++ix) {
+ string thread_name = "ms_xio_qs_";
+ thread_name.append(std::to_string(ix));
thrd = new QSThread(this);
- thrd->create();
+ thrd->create(thread_name.c_str());
}
lock.Unlock();
}
void send_keepalive() override {}
void mark_down() override;
int _mark_down(uint32_t flags);
- virtual void mark_disposable() override;
- int _mark_disposable(uint32_t flags) override;
+ void mark_disposable() override;
+ int _mark_disposable(uint32_t flags);
const entity_inst_t& get_peer() const { return peer; }
bool is_connected() override { return true; }
int send_message(Message *m) override;
- void send_keepalive()i override {}
+ void send_keepalive() override {}
void mark_down() override {}
void mark_disposable() override {}
/* shift left */
p_vec[(p_ix-1)] = (char*) /* portal->xio_uri.c_str() */
portal->portal_id;
- }
+ }
for (p_ix = 0; p_ix < nportals; ++p_ix) {
portal = portals[p_ix];
- portal->create();
+ portal->create(portal->portal_id);
}
}