diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2009-05-13 22:57:44 (GMT) |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-05-23 20:44:11 (GMT) |
commit | d1acfae514425d680912907c6554852f1e258551 (patch) | |
tree | 54cf742c2b988d2a728c68d3ac8be9f0212e4f49 /.mailmap | |
parent | 26013ad4c43f49a038a6489c35e9b901491339fe (diff) | |
download | linux-fsl-qoriq-d1acfae514425d680912907c6554852f1e258551.tar.xz |
[SCSI] libiscsi_tcp: update recv tracking for each skb instead of iscsi pdu
Everytime we read in a pdu libiscsi will update a tracking field.
It uses this to decide when to check if the transport might be bad.
If we have not got data in recv_timeout seconds then we will
send a iscsi ping/nop.
If we are on a slow link then it could take a while to read in all
the data for a data_in. In that case we might send a ping/nop when
we do not need to or we might drop a session thinking it is bad
when the lower layer is making forward progress on it.
This patch has libiscsi_tcp update the recv tracking for each skb
(basically network packet from our point of view) instead of the
entire iscsi pdu+data, so we account for these cases where data is
coming in slowly.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions