diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2017-03-22 17:07:30 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2017-03-30 20:35:50 -0700 |
commit | 7a56dc8888be23f44158a85b92da45d545cbf548 (patch) | |
tree | 53ff04e53d41f5225f68ec19dfe0ed26ae173be8 /include/target | |
parent | 555a65f66c3c4d9dd46a565418b0b655d861a723 (diff) | |
download | linux-7a56dc8888be23f44158a85b92da45d545cbf548.tar.bz2 |
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 'include/target')
0 files changed, 0 insertions, 0 deletions