diff options
author | Marta Rybczynska <[email protected]> | 2017-04-10 17:12:34 +0200 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2017-05-22 20:49:49 +0200 |
commit | 0544f5494a03b8846db74e02be5685d1f32b06c9 (patch) | |
tree | 00c2f3c58c70d5d995ac4e8f32d7d201a8e45698 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 08332893e37af6ae779367e78e444f8f9571511d (diff) |
nvme-rdma: support devices with queue size < 32
In the case of small NVMe-oF queue size (<32) we may enter a deadlock
caused by the fact that the IB completions aren't sent waiting for 32
and the send queue will fill up.
The error is seen as (using mlx5):
[ 2048.693355] mlx5_0:mlx5_ib_post_send:3765:(pid 7273):
[ 2048.693360] nvme nvme1: nvme_rdma_post_send failed with error code -12
This patch changes the way the signaling is done so that it depends on
the queue depth now. The magic define has been removed completely.
Cc: [email protected]
Signed-off-by: Marta Rybczynska <[email protected]>
Signed-off-by: Samuel Jones <[email protected]>
Acked-by: Sagi Grimberg <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions