2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 13:13:57 +08:00
linux-next/include/scsi
Mike Christie 30a6c65236 [SCSI] iscsi: fix up iscsi eh
The current iscsi_tcp eh is not nicely setup for dm-multipath
and performs some extra task management functions when they
are not needed.

The attached patch:

- Fixes the TMF issues. If a session is rebuilt
then we do not send aborts.

- Fixes the problem where if the host reset fired, we would
return SUCCESS even though we had not really done anything
yet. This ends up causing problem with scsi_error.c's TUR.

- If someone has turned on the userspace nop daemon code to try
and detect network problems before the scsi command timeout
we can now drop and clean up the session before the scsi command
timesout and fires the eh speeding up the time it takes for a
command to go from one patch to another. For network problems
we fail the command with DID_BUS_BUSY so if failfast is set
scsi_decide_disposition fails the command up to dm for it to
try on another path.

- And we had to add some basic iscsi session block code. Previously
if we were trying to repair a session we would retrun a MLQUEUE code
in the queuecommand. This worked but it was not the most efficient
or pretty thing to do since it would take a while to relogin
to the target. For iscsi_tcp/open-iscsi a lot of the iscsi error handler
is in userspace the block code is pretty bare. We will be
adding to that for qla4xxx.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2006-04-14 14:05:09 -05:00
..
iscsi_if.h [SCSI] iscsi: fix up iscsi eh 2006-04-14 14:05:09 -05:00
iscsi_proto.h [SCSI] iscsi: rename some proto defs 2005-09-20 12:35:27 -05:00
scsi_cmnd.h [SCSI] Neaten comments in scsi_cmnd.h 2006-02-27 22:55:02 -06:00
scsi_dbg.h [SCSI] Rename scsi_print_msg to spi_print_msg 2005-12-15 18:41:27 -08:00
scsi_device.h [SCSI] add scsi_mode_select to scsi_lib.c 2006-03-19 10:19:14 -06:00
scsi_devinfo.h [SCSI] BLIST_ATTACH_PQ3 flags 2006-04-14 13:56:56 -05:00
scsi_driver.h [BLOCK] update SCSI to use new blk_ordered for barriers 2006-01-06 09:52:55 +01:00
scsi_eh.h [PATCH] SCSI: export scsi_eh_finish_cmd() and scsi_eh_flush_done_q() 2006-01-26 22:36:28 -05:00
scsi_host.h [PATCH] move ->eh_strategy_handler to the transport class 2006-04-10 14:15:47 -04:00
scsi_ioctl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_request.h [SCSI] remove scsi_wait_req 2005-11-06 12:45:20 -06:00
scsi_tcq.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_transport_fc.h [SCSI] fc transport: add permanent_port_name fc_host attribute 2006-01-14 10:54:48 -06:00
scsi_transport_iscsi.h [SCSI] iscsi: fix up iscsi eh 2006-04-14 14:05:09 -05:00
scsi_transport_sas.h [SCSI] eliminate rphy allocation in favour of expander/end device allocation 2006-03-19 10:21:16 -06:00
scsi_transport_spi.h [SCSI] Add spi_populate_*_msg functions 2006-02-27 22:55:09 -06:00
scsi_transport.h [PATCH] move ->eh_strategy_handler to the transport class 2006-04-10 14:15:47 -04:00
scsi.h [SCSI] fix scsi process problems and clean up the target reap issues 2006-02-27 23:37:45 -06:00
scsicam.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sg_request.h [PATCH] I2O: Adaptec specific SG_IO access, firmware access through sysfs and 2400A workaround 2005-06-24 00:05:28 -07:00
sg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
srp.h IB: Add SCSI RDMA Protocol (SRP) initiator 2005-11-02 14:07:13 -08:00