linux/drivers/infiniband/ulp/srp
Bart Van Assche 59d45be57c RDMA/srp: Propagate ib_post_send() failures to the SCSI mid-layer
[ Upstream commit 2ee00f6a98 ]

This patch avoids that the SCSI mid-layer keeps retrying forever if
ib_post_send() fails. This was discovered while testing immediate
data support and passing a too large num_sge value to ib_post_send().

Cc: Sergey Gorenko <sergeygo@mellanox.com>
Cc: Max Gurtovoy <maxg@mellanox.com>
Cc: Laurence Oberman <loberman@redhat.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-12-05 09:20:40 +01:00
..
ib_srp.c RDMA/srp: Propagate ib_post_send() failures to the SCSI mid-layer 2019-12-05 09:20:40 +01:00
ib_srp.h IB/srp: Add target_can_queue login parameter 2018-01-23 11:35:05 -05:00
Kbuild
Kconfig ib_srp: depend on INFINIBAND_ADDR_TRANS 2018-04-27 11:15:44 -04:00