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-04-13 15:04:33 -07:00
2009-04-07 08:31:11 -07:00
2009-04-07 08:31:11 -07:00
2009-04-07 08:31:11 -07:00
2009-03-28 20:30:18 +00:00
2009-05-23 15:44:09 -05:00
2009-05-20 17:21:14 -05:00
2008-08-23 12:14:12 -07:00
2009-05-20 17:21:15 -05:00
2009-05-13 22:13:09 -04:00
2009-05-23 15:44:06 -05:00
2009-05-20 17:21:15 -05:00
2009-01-16 10:17:09 -05:00
2009-04-27 09:43:19 -05:00
2009-04-07 08:31:11 -07:00
2009-05-18 14:17:17 -05:00
2009-05-23 15:44:08 -05:00
2009-05-09 10:49:42 -04:00
2009-01-05 12:17:42 -06:00
2009-05-20 17:21:11 -05:00
2009-04-07 08:31:11 -07:00
2009-05-20 17:21:14 -05:00
2008-01-11 18:22:30 -06:00
2009-05-15 12:23:32 -04:00
2009-03-13 15:46:42 -05:00
2009-05-15 12:24:59 -04:00
2009-05-15 12:24:59 -04:00
2008-05-02 10:18:22 -05:00
2007-06-17 16:15:56 -05:00
2009-04-07 08:31:11 -07:00
2007-06-17 16:09:29 -05: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
2009-04-22 20:39:06 +02:00
2009-04-03 09:25:23 -05:00
2008-10-16 16:52:06 +02:00
2007-08-04 09:11:06 -05:00
2008-04-27 12:19:55 -05:00
2008-12-29 11:24:12 -06:00
2008-02-06 10:41:01 -08:00
2009-03-26 21:15:29 +01:00
2009-03-26 21:15:29 +01:00
2009-04-07 08:31:11 -07:00
2009-04-07 08:31:11 -07:00
2008-04-07 12:15:44 -05:00
2009-03-24 16:38:25 -07:00
2009-03-13 15:48:43 -05:00
2009-03-12 12:58:02 -05:00
2008-04-07 12:15:40 -05:00
2009-04-07 08:31:11 -07:00
2008-05-08 10:46:56 -07:00
2007-11-25 12:19:26 +02:00
2008-12-29 11:24:12 -06:00
2009-04-07 08:31:11 -07:00
2008-12-29 11:24:14 -06:00
2008-08-29 02:13:10 -07:00
2008-01-11 18:22:35 -06:00
2008-12-29 11:24:12 -06:00
2008-04-27 12:19:55 -05:00
2007-11-25 12:19:26 +02:00
2008-10-09 08:56:13 +02:00
2008-10-09 08:56:13 +02:00
2009-04-07 08:31:11 -07:00
2008-10-09 08:56:13 +02:00
2009-01-02 12:16:18 -06:00
2009-03-12 12:58:17 -05:00
2009-04-07 08:31:11 -07:00
2008-01-11 18:28:06 -06:00
2008-12-29 11:24:12 -06:00
2008-07-27 10:31:49 -04:00
2008-12-29 11:24:12 -06:00
2009-04-07 08:31:11 -07:00
2008-12-29 11:24:12 -06:00
2009-05-23 15:44:07 -05:00
2009-03-12 12:57:58 -05:00
2009-04-07 08:31:11 -07:00
2008-08-23 12:14:12 -07:00
2009-04-27 10:09:54 -05:00
2008-12-29 11:24:22 -06:00
2008-04-27 12:33:04 -05:00
2009-05-23 15:44:06 -05:00
2009-04-07 08:31:11 -07:00
2009-05-23 15:44:11 -05:00
2009-05-23 15:44:11 -05:00
2008-07-27 10:31:49 -04:00
2008-01-30 13:14:02 -06:00
2008-12-29 11:24:19 -06:00
2008-12-28 20:00:03 +01:00
2009-05-20 17:21:12 -05:00
2009-04-07 08:31:11 -07:00
2008-11-05 12:40:23 -05:00
2008-06-05 09:23:44 -05:00
2009-03-24 16:38:25 -07:00
2008-04-07 12:19:07 -05:00
2008-10-09 08:56:13 +02:00
2007-10-12 14:51:18 -04:00
2008-01-30 13:14:02 -06:00
2008-12-29 11:24:12 -06:00
2007-10-12 14:55:07 -04:00
2009-05-23 15:44:09 -05:00
2007-07-19 10:04:50 -07:00
2008-07-27 10:31:49 -04:00
2009-04-07 08:31:11 -07:00
2008-08-23 12:14:12 -07:00
2009-03-12 12:58:10 -05:00
2009-03-12 12:58:10 -05:00
2007-11-25 12:19:26 +02:00
2008-07-27 10:31:49 -04:00
2009-01-16 16:15:15 +11:00
2009-05-20 17:21:13 -05:00
2009-05-20 17:21:13 -05:00
2008-12-29 11:24:12 -06:00
2008-01-30 13:14:02 -06:00
2009-04-03 09:25:23 -05:00
2008-08-29 02:14:46 -07:00
2009-01-02 10:22:16 -06:00
2009-05-20 17:21:15 -05:00
2009-03-31 01:14:44 +04:00
2009-03-12 12:58:10 -05:00
2009-01-02 10:22:16 -06:00
2007-07-14 19:28:10 -05:00
2009-05-23 15:44:05 -05:00
2008-10-23 11:42:17 -05:00
2009-04-13 11:37:07 -07:00
2009-03-31 01:14:44 +04:00
2008-04-19 19:10:33 -07:00
2009-05-20 17:21:13 -05:00
2007-07-18 11:16:32 -05:00
2009-03-12 12:57:55 -05:00
2008-07-02 15:06:25 -06:00
2008-10-10 10:53:26 -07:00
2008-07-27 10:31:49 -04:00
2007-10-12 14:46:58 -04:00
2009-03-28 13:30:43 -07:00
2009-05-23 15:44:09 -05:00
2009-01-02 10:22:16 -06:00
2008-12-29 11:24:32 -06:00
2007-10-12 14:38:09 -04:00
2009-01-02 10:22:16 -06:00
2009-04-21 19:40:00 -07:00
2009-04-03 10:16:31 -05:00
2008-01-11 18:22:40 -06:00
2009-01-05 09:06:23 -06:00
2009-04-27 10:36:07 -05:00
2009-03-17 21:43:52 -04:00
2009-04-03 10:17:01 -05:00
2009-04-27 09:38:11 -05:00
2009-01-02 10:58:41 -06:00
2009-01-02 10:22:16 -06:00
2009-04-07 08:31:11 -07:00
2009-04-27 09:32:30 -05:00
2008-10-20 08:52:41 -07:00
2009-04-03 09:22:55 -05:00
2008-02-07 18:02:44 -06:00
2008-04-07 12:15:39 -05:00
2009-05-23 15:44:06 -05:00
2009-01-02 12:02:25 -06:00
2009-04-07 08:31:11 -07:00
2008-01-11 18:28:57 -06:00
2008-04-16 09:28:11 -05:00
2007-11-25 12:19:26 +02:00
2008-10-23 11:42:19 -05:00
2008-08-31 01:23:17 -07:00
2008-12-29 11:24:12 -06:00
2007-11-25 12:19:26 +02:00
2008-12-29 11:24:14 -06:00
2007-07-14 18:56:33 -05:00
2008-12-29 11:24:14 -06:00
2008-04-28 17:31:13 -07:00
2008-04-07 12:19:01 -05:00
2007-10-19 23:22:55 +02:00
2008-12-29 11:24:12 -06:00
2009-03-13 01:18:14 -04:00
2007-11-29 09:24:52 -08:00