john fastabend
ac17ea8d7d
[SCSI] libfc: incorrect scsi host byte codes returned to scsi-ml
...
The fcp packet recovery handler fc_fcp_recover() is called
when errors occurr in a fcp session. Currently it is
generically setting the status code to FC_CMD_RECOVERY for
all error types. This results in DID_BUS_BUSY errors
being returned to the scsi-ml.
DID_BUS_BUSY errors indicate "BUS stayed busy through time
out period" according to scsi.h. Many of the error reported
by fc_rcp_recovery() are pkt errors. Here we update
fc_fcp_recovery to use better host byte codes.
With certain FAST FAIL flags set DID_BUS_BUSY and DID_ERROR
will have different behaviors this was causing dm multipath
to fail quickly in some cases where a retry would be a
better action.
Signed-off-by: John Fastabend <john.r.fastabend@intel.com >
Signed-off-by: Robert Love <robert.w.love@intel.com >
Signed-off-by: James Bottomley <James.Bottomley@suse.de >
2010-12-21 12:24:21 -06:00
..
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-07-12 18:03:50 +02:00
2010-08-11 08:59:00 -07:00
2010-11-16 13:33:23 -08:00
2010-11-23 22:26:23 +00:00
2010-10-22 17:34:15 -07:00
2010-12-21 12:24:17 -06:00
2010-12-21 12:24:16 -06:00
2010-10-25 16:09:57 -05:00
2010-10-25 16:13:24 -05:00
2010-12-21 12:24:18 -06:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-12-21 12:24:21 -06:00
2010-12-21 12:23:53 -06:00
2010-12-21 12:24:02 -06:00
2010-11-16 13:33:23 -08:00
2010-12-21 12:24:09 -06:00
2010-07-28 09:07:49 -05:00
2010-12-09 09:24:13 -06:00
2010-11-16 13:33:23 -08:00
2010-11-17 08:59:32 -08:00
2010-12-09 13:25:51 -06:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-04-11 09:23:25 -05:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-04-11 09:23:25 -05:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-05-26 19:51:08 +02:00
2010-05-26 19:51:07 +02:00
2010-05-26 19:51:08 +02:00
2010-05-26 19:51:07 +02:00
2010-05-26 19:51:09 +02:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-03-30 22:02:32 +09:00
2010-10-22 10:52:56 -07:00
2010-09-02 17:15:31 -03:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-01-18 10:48:14 -06:00
2010-08-11 08:59:00 -07:00
2010-11-16 13:33:23 -08:00
2010-01-18 10:48:16 -06:00
2010-03-30 22:02:32 +09:00
2010-01-18 10:48:16 -06:00
2010-11-16 13:33:23 -08:00
2010-01-18 10:48:16 -06:00
2010-05-26 19:51:08 +02:00
2010-05-26 19:51:08 +02:00
2010-10-22 19:36:42 -07:00
2010-07-27 12:02:00 -05:00
2010-12-09 15:06:50 -06:00
2010-07-27 12:01:15 -05:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-12-21 12:23:55 -06:00
2010-12-21 12:23:55 -06:00
2010-11-16 13:33:23 -08:00
2010-08-06 10:45:07 -05:00
2010-05-25 10:04:10 -05:00
2010-04-11 14:04:05 -05:00
2010-03-30 22:02:32 +09:00
2010-10-24 13:41:39 -07:00
2010-03-30 22:02:32 +09:00
2010-04-11 14:03:59 -05:00
2010-12-21 12:24:10 -06:00
2010-03-30 22:02:32 +09:00
2010-11-16 13:33:23 -08:00
2010-03-30 22:02:32 +09:00
2010-09-05 14:29:23 -03:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-03-30 22:02:32 +09:00
2010-05-26 19:51:07 +02:00
2010-05-02 15:55:03 -04:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-11-16 13:33:23 -08:00
2010-09-15 21:00:45 +02:00
2010-11-16 13:33:23 -08:00
2010-12-09 09:41:15 -06:00
2010-12-09 09:41:15 -06:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-08-06 09:25:50 -06:00
2010-03-03 21:17:06 +05:30
2010-11-16 13:33:23 -08:00
2010-03-30 22:02:32 +09:00
2010-12-21 12:23:56 -06:00
2010-12-09 09:41:16 -06:00
2010-03-30 22:02:32 +09:00
2010-07-28 09:07:50 -05:00
2010-08-06 09:17:02 -07:00
2010-03-30 22:02:32 +09:00
2010-02-08 17:15:19 -06:00
2010-10-22 10:16:43 -07:00
2010-10-25 15:00:47 -05:00
2010-10-22 10:52:56 -07:00
2010-08-11 00:55:42 -04:00
2010-04-30 12:52:08 -05:00
2010-10-07 17:09:44 -05:00
2010-09-09 15:30:08 -05:00
2010-02-08 17:15:19 -06:00
2010-03-30 22:02:32 +09:00
2010-11-16 13:33:23 -08:00
2010-03-30 22:02:32 +09:00
2010-10-15 15:49:20 +02:00
2010-12-21 12:23:53 -06:00
2010-10-11 17:33:20 -05:00
2010-03-30 22:02:32 +09:00
2010-10-24 13:41:39 -07:00
2010-03-07 17:04:50 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-10-25 15:12:51 -05:00
2010-03-30 22:02:32 +09:00
2010-10-22 20:30:48 -07:00
2010-10-22 17:34:15 -07:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-08-07 18:17:56 +02:00
2010-08-07 18:17:56 +02:00
2010-11-16 13:33:23 -08:00
2010-03-30 22:02:32 +09:00
2010-08-06 09:25:50 -06:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2010-05-17 21:37:41 +02:00