linux_old1/include/scsi
James.Smart@Emulex.Com 5c44cd2afa [SCSI] fix target scanning oops with fc transport class
We have some nasty issues with 2.6.12-rc6. Any request to scan on
the lpfc or qla2xxx FC adapters will oops. What is happening is the
system is defaulting to non-transport registered targets, which
inherit the parent of the scan. On this second scan, performed by
the attribute, the parent becomes the shost instead of the rport.
The slave functions in the 2 FC adapters use starget_to_rport()
routines, which incorrectly map the shost as an rport pointer.

Additionally, this pointed out other weaknesses:
- If the target structure is torn down outside of the transport,
  we have no method for it to be regenerated at the proper parent.
- We have race conditions on the target being allocated by both
  the midlayer scan (parent=shost) and by the fc transport
  (parent=rport).

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2005-08-08 17:14:55 -05:00
..
scsi.h [SCSI] add TYPE_RBC to our type table 2005-07-11 12:38:33 -05:00
scsi_cmnd.h [SCSI] remove scsi_cmnd->state 2005-06-26 12:16:24 -05:00
scsi_dbg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_device.h [SCSI] fix function prototype warning 2005-07-14 11:54:17 -05:00
scsi_devinfo.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_driver.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_eh.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_host.h [SCSI] remove scsi_set_device 2005-06-26 08:31:47 -05:00
scsi_ioctl.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_request.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_tcq.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_transport.h [SCSI] fix target scanning oops with fc transport class 2005-08-08 17:14:55 -05:00
scsi_transport_fc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_transport_iscsi.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scsi_transport_spi.h [SCSI] implement parameter limits in the SPI transport class 2005-05-20 15:54:32 -05:00
scsicam.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sg.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