android_kernel_xiaomi_sm8350/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
iscsi_proto.h
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
scsi_driver.h [BLOCK] update SCSI to use new blk_ordered for barriers 2006-01-06 09:52:55 +01:00
scsi_eh.h
scsi_host.h [SCSI] turn most scsi semaphores into mutexes 2006-01-12 11:53:11 -06:00
scsi_ioctl.h
scsi_request.h [SCSI] remove scsi_wait_req 2005-11-06 12:45:20 -06:00
scsi_tcq.h
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_transport_sas.h
scsi_transport_spi.h [SCSI] sem2mutex: scsi_transport_spi.c 2006-01-14 10:55:01 -06:00
scsi_transport.h [SCSI] remove target parent limitiation 2006-01-14 10:55:05 -06:00
scsi.h [SCSI] remove target parent limitiation 2006-01-14 10:55:05 -06:00
scsicam.h
sg_request.h
sg.h
srp.h