kernel-aes67/include/scsi
James Bottomley 643eb2d932 [SCSI] rework scsi_target allocation
The current target allocation code registeres each possible target
with sysfs; it will be deleted again if no useable LUN on this target
was found. This results in a string of 'target add/target remove' uevents.

Based on a patch by Hannes Reinecke <hare@suse.de> this patch reworks
the target allocation code so that only uevents for existing targets
are sent. The sysfs registration is split off from the existing
scsi_target_alloc() into a in a new scsi_add_target() function, which
should be called whenever an existing target is found. Only then a
uevent is sent, so we'll be generating events for existing targets
only.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-04-22 15:16:31 -05:00
..
iscsi_if.h
iscsi_proto.h [SCSI] iscsi: extended cdb support 2008-04-18 11:51:19 -05:00
libiscsi.h
libsas.h include: Remove unnecessary inclusions of asm/semaphore.h 2008-04-18 22:16:54 -04:00
libsrp.h
sas_ata.h [SCSI] libsas: fix missing inlines in header file 2008-04-07 12:19:10 -05:00
sas.h
scsi_cmnd.h [SCSI] export command allocation and freeing functions independently of the host 2008-04-07 12:18:57 -05:00
scsi_dbg.h
scsi_device.h [SCSI] rework scsi_target allocation 2008-04-22 15:16:31 -05:00
scsi_devinfo.h
scsi_driver.h
scsi_eh.h [SCSI] add scsi_build_sense_buffer helper function 2008-04-07 12:19:01 -05:00
scsi_host.h SCSI: convert struct class_device to struct device 2008-04-19 19:10:33 -07:00
scsi_ioctl.h
scsi_netlink_fc.h
scsi_netlink.h
scsi_tcq.h
scsi_tgt_if.h
scsi_tgt.h
scsi_transport_fc.h SCSI: convert struct class_device to struct device 2008-04-19 19:10:33 -07:00
scsi_transport_iscsi.h
scsi_transport_sas.h SCSI: convert struct class_device to struct device 2008-04-19 19:10:33 -07:00
scsi_transport_spi.h
scsi_transport_srp.h
scsi_transport.h SCSI: convert struct class_device to struct device 2008-04-19 19:10:33 -07:00
scsi.h
scsicam.h
sd.h SCSI: convert struct class_device to struct device 2008-04-19 19:10:33 -07:00
sg.h
srp.h