summaryrefslogtreecommitdiff
path: root/fs/proc
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@mellanox.com>2012-03-05 18:21:44 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-02 09:27:10 -0700
commitec97d16dc99a40232f7c6ea7dc36b4819be3790e (patch)
tree5af33473cb0c9ef35424e5be2d34e83e82e20edd /fs/proc
parent2a367a7641e3f3075bfb50cb6ce26d4c66848e3c (diff)
downloadlwn-ec97d16dc99a40232f7c6ea7dc36b4819be3790e.tar.gz
lwn-ec97d16dc99a40232f7c6ea7dc36b4819be3790e.zip
IB/iser: Post initial receive buffers before sending the final login request
commit 89e984e2c2cd14f77ccb26c47726ac7f13b70ae8 upstream. An iser target may send iscsi NO-OP PDUs as soon as it marks the iSER iSCSI session as fully operative. This means that there is window where there are no posted receive buffers on the initiator side, so it's possible for the iSER RC connection to break because of RNR NAK / retry errors. To fix this, rely on the flags bits in the login request to have FFP (0x3) in the lower nibble as a marker for the final login request, and post an initial chunk of receive buffers before sending that login request instead of after getting the login response. Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: Roland Dreier <roland@purestorage.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/proc')
0 files changed, 0 insertions, 0 deletions