Mike Christie d1acfae514 [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>
2009-05-23 15:44:11 -05:00
..
2009-03-28 20:30:18 +00:00
2009-05-09 10:49:42 -04:00
2008-01-11 18:22:30 -06:00
2009-05-15 12:23:32 -04:00
2009-05-15 12:24:59 -04:00
2009-05-15 12:24:59 -04:00
2009-04-03 10:17:31 -05:00
2009-04-03 10:17:31 -05:00
2009-04-03 10:17:17 -05:00
2009-04-03 10:17:17 -05:00
2008-10-16 16:52:06 +02:00
2009-03-13 15:48:43 -05:00
2009-03-12 12:58:02 -05:00
2008-12-29 11:24:14 -06:00
2008-08-29 02:13:10 -07:00
2008-10-09 08:56:13 +02:00
2009-03-12 12:57:58 -05:00
2008-01-30 13:14:02 -06:00
2008-12-28 20:00:03 +01:00
2008-01-30 13:14:02 -06:00
2008-01-30 13:14:02 -06:00
2009-03-12 12:58:10 -05:00
2008-10-23 11:42:17 -05:00
2007-07-18 11:16:32 -05:00
2008-07-02 15:06:25 -06:00
2009-03-17 21:43:52 -04:00
2009-04-03 09:22:55 -05:00
2008-02-07 18:02:44 -06:00
2009-05-23 15:44:06 -05:00
2009-01-02 12:02:25 -06:00
2008-10-23 11:42:19 -05:00
2007-10-19 23:22:55 +02:00