Close TCP connections for RDMA clients
This commit is contained in:
@@ -373,6 +373,13 @@ void osd_t::exec_show_config(osd_op_t *cur_op)
|
||||
cl->read_op_id = cur_op->req.hdr.id + 1;
|
||||
}
|
||||
auto features = json11::Json::object{ { "pg_locks", true } };
|
||||
#ifdef WITH_RDMA
|
||||
if (msgr.is_rdma_enabled() && req_json["features"]["rdma_close_tcp"].bool_value())
|
||||
{
|
||||
cl->rdma_close_tcp = true;
|
||||
features["rdma_close_tcp"] = true;
|
||||
}
|
||||
#endif
|
||||
if (msgr.use_proto_checksums)
|
||||
{
|
||||
auto peer_csums = req_json["features"]["proto_checksums"].uint64_value();
|
||||
|
||||
Reference in New Issue
Block a user