diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2017-03-22 16:07:30 +0100 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2017-03-31 05:35:50 +0200 |
commit | 7a56dc8888be23f44158a85b92da45d545cbf548 (patch) | |
tree | 53ff04e53d41f5225f68ec19dfe0ed26ae173be8 /drivers/target | |
parent | iser-target: Fix queue-full response handling (diff) | |
download | linux-7a56dc8888be23f44158a85b92da45d545cbf548.tar.xz linux-7a56dc8888be23f44158a85b92da45d545cbf548.zip |
iser-target: avoid posting a recv buffer twice
We pre-allocate our send-queues and might overflow them
in case we have multi work-request operations which tend
to occur for large RDMA transfers over devices with limited
allowed sg elements. When we get to a queue-full condition
we might retry again later, so track our receive buffers
so we don't repost them for a retry case.
Reported-by: Potnuri Bharat Teja <bharat@chelsio.com>
Tested-by: Potnuri Bharat Teja <bharat@chelsio.com>
Reviewed-by: Potnuri Bharat Teja <bharat@chelsio.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target')
0 files changed, 0 insertions, 0 deletions