summaryrefslogtreecommitdiff
path: root/include/scsi/libiscsi.h
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2009-05-13 17:57:45 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-05-23 15:44:11 -0500
commit4c48a82935f833d94fcf44c2b0c5d2922acfc77a (patch)
treecc735d1d55feacc515155be528380cc60ce8f1a8 /include/scsi/libiscsi.h
parentd1acfae514425d680912907c6554852f1e258551 (diff)
[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/scsi/libiscsi.h')
0 files changed, 0 insertions, 0 deletions