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: NPotnuri Bharat Teja <bharat@chelsio.com> Tested-by: NPotnuri Bharat Teja <bharat@chelsio.com> Reviewed-by: NPotnuri Bharat Teja <bharat@chelsio.com> Signed-off-by: NSagi Grimberg <sagi@grimberg.me> Signed-off-by: NNicholas Bellinger <nab@linux-iscsi.org>
Showing
想要评论请 注册 或 登录