nvmf: Remove workaround for kernel initiator queue depth
The first version of the Linux kernel NVMe-oF initiator had a bug when reporting queue size where it was off by 1. We had a workaround to deal with this. Now that the kernel has been fixed, remove the workaround. Change-Id: I0ad4a5c6db68cfa9683ab93e6f5210772c713b55 Signed-off-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
5681ff04c9
commit
b4ed77ef0d
@ -672,7 +672,7 @@ nvmf_rdma_connect(struct rdma_cm_event *event)
|
||||
SPDK_TRACELOG(SPDK_TRACE_RDMA, "Host Receive Queue Size: %d\n", private_data->hrqsize);
|
||||
SPDK_TRACELOG(SPDK_TRACE_RDMA, "Host Send Queue Size: %d\n", private_data->hsqsize);
|
||||
max_queue_depth = spdk_min(max_queue_depth, private_data->hrqsize);
|
||||
max_queue_depth = spdk_min(max_queue_depth, private_data->hsqsize);
|
||||
max_queue_depth = spdk_min(max_queue_depth, private_data->hsqsize + 1);
|
||||
}
|
||||
|
||||
SPDK_TRACELOG(SPDK_TRACE_RDMA, "Final Negotiated Queue Depth: %d R/W Depth: %d\n",
|
||||
|
Loading…
Reference in New Issue
Block a user