summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMike Christie2009-05-14 00:57:45 +0200
committerJames Bottomley2009-05-23 22:44:11 +0200
commit4c48a82935f833d94fcf44c2b0c5d2922acfc77a (patch)
treecc735d1d55feacc515155be528380cc60ce8f1a8 /include
parent[SCSI] libiscsi_tcp: update recv tracking for each skb instead of iscsi pdu (diff)
downloadkernel-qcow2-linux-4c48a82935f833d94fcf44c2b0c5d2922acfc77a.tar.gz
kernel-qcow2-linux-4c48a82935f833d94fcf44c2b0c5d2922acfc77a.tar.xz
kernel-qcow2-linux-4c48a82935f833d94fcf44c2b0c5d2922acfc77a.zip
[SCSI] libiscsi: fix iscsi transport checks to account for slower links
If we have not got any pdus for recv_timeout seconds, then we will send a iscsi ping/nop to make sure the target is still around. The problem is if this is a slow link, and the ping got queued after the data for a data_out (read), then the transport code could think the ping has failed when it is just slowly making its way through the network. This patch has us check if we are making progress while the nop is outstanding. If we are still reading in data, then we do not fail the session at that time. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions