kernel-fxtec-pro1x/include/scsi
Christoph Hellwig e02f3f5922 [SCSI] remove target parent limitiation
When James Smart fixed the issue of the userspace scan atributes
crashing the system with the FC transport class he added a patch to
let the transport class check if the parent is valid for a given
transport class.

When adding support for the integrated raid of fusion sas devices
we ran into a problem with that, as it didn't allow adding virtual
raid volumes without the transport class knowing about it.

So this patch adds a user_scan attribute instead, that takes over from
scsi_scan_host_selected if the transport class sets it and thus lets
the transport class control the user-initiated scanning.  As this
plugs the hole about user-initiated scanning the target_parent hook
goes away and we rely on callers of the scanning routines to do
something sensible.

For SAS this meant I had to switch from a spinlock to a mutex to
synchronize the topology linked lists, in FC they were completely
unsynchronized which seems wrong.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2006-01-14 10:55:05 -06:00
..
iscsi_if.h [SCSI] open-iscsi/linux-iscsi-5 Initiator: Header files 2005-08-06 09:33:41 -05:00
iscsi_proto.h [SCSI] iscsi: rename some proto defs 2005-09-20 12:35:27 -05:00
scsi.h [SCSI] remove target parent limitiation 2006-01-14 10:55:05 -06:00
scsi_cmnd.h [SCSI] always handle REQ_BLOCK_PC requests in common code 2006-01-14 10:54:45 -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] Convert SCSI mid-layer to scsi_execute_async 2005-12-14 19:03:35 -08:00
scsi_devinfo.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07: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 Merge by hand (conflicts in sd.c) 2005-09-06 17:52:54 -05:00
scsi_host.h [SCSI] turn most scsi semaphores into mutexes 2006-01-12 11:53:11 -06: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.h [SCSI] remove target parent limitiation 2006-01-14 10:55:05 -06: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] open-iscsi/linux-iscsi-5 Initiator: Header files 2005-08-06 09:33:41 -05:00
scsi_transport_sas.h [SCSI] sas: add support for PHY resets 2005-10-28 19:08:03 -05:00
scsi_transport_spi.h [SCSI] sem2mutex: scsi_transport_spi.c 2006-01-14 10:55:01 -06: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
srp.h IB: Add SCSI RDMA Protocol (SRP) initiator 2005-11-02 14:07:13 -08:00