summaryrefslogtreecommitdiff
path: root/drivers/target
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2014-02-27 09:05:03 -0800
committerJiri Slaby <jslaby@suse.cz>2014-03-22 22:01:59 +0100
commita45288994f370d0d3014332acfe65207459818d2 (patch)
tree2958b9a3b7612103e2bbb2cd21160b203e9ef3a6 /drivers/target
parent59be23a78272e2dc17ea39f4ea47f8798c0ecd4f (diff)
iser-target: Fix post_send_buf_count for RDMA READ/WRITE
commit b6b87a1df604678ed1be40158080db012a99ccca upstream. This patch fixes the incorrect setting of ->post_send_buf_count related to RDMA WRITEs + READs where isert_rdma_rw->send_wr_num was not being taken into account. This includes incrementing ->post_send_buf_count within isert_put_datain() + isert_get_dataout(), decrementing within __isert_send_completion() + isert_response_completion(), and clearing wr->send_wr_num within isert_completion_rdma_read() This is necessary because even though IB_SEND_SIGNALED is not set for RDMA WRITEs + READs, during a QP failure event the work requests will be returned with exception status from the TX completion queue. Acked-by: Sagi Grimberg <sagig@mellanox.com> Cc: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions