James Bottomley
e63ed0d7a9
[SCSI] fix our current target reap infrastructure
...
This patch eliminates the reap_ref and replaces it with a proper kref.
On last put of this kref, the target is removed from visibility in
sysfs. The final call to scsi_target_reap() for the device is done from
__scsi_remove_device() and only if the device was made visible. This
ensures that the target disappears as soon as the last device is gone
rather than waiting until final release of the device (which is often
too long).
Reviewed-by: Alan Stern <stern@rowland.harvard.edu>
Tested-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: stable@vger.kernel.org # delay backport by 2 months for field testing
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
2014-03-15 10:18:59 -07:00
..
fc
libfc: Source code comment spelling fixes
2013-09-04 12:47:49 -07:00
fc_encode.h
fc_frame.h
fcoe_sysfs.h
libfcoe, fcoe, bnx2fc: Add new fcoe control interface
2012-12-14 10:38:54 -08:00
iscsi_if.h
[SCSI] scsi_transport_iscsi: Export ISCSI_PARAM_LOCAL_IPADDR attr for iscsi_connection
2013-12-19 20:56:26 -08:00
iscsi_proto.h
libfc.h
libfc: Do not invoke the response handler after fc_exch_done()
2013-09-04 13:45:22 -07:00
libfcoe.h
libfcoe: Make fcoe_sysfs optional / fix fnic NULL exception
2013-10-11 13:25:40 -07:00
libiscsi.h
[SCSI] libiscsi: Add local_ipaddr parameter in iscsi_conn struct
2013-12-19 20:56:26 -08:00
libiscsi_tcp.h
libsas.h
[SCSI] libsas: implement > 16 byte CDB support
2013-06-04 11:15:59 -07:00
libsrp.h
osd_attributes.h
UAPI: (Scripted) Convert #include "..." to #include <path/...> in kernel system headers
2012-10-02 18:01:25 +01:00
osd_initiator.h
UAPI: (Scripted) Convert #include "..." to #include <path/...> in kernel system headers
2012-10-02 18:01:25 +01:00
osd_ore.h
ore: Fix wrong math in allocation of per device BIO
2014-01-23 10:55:03 +02:00
osd_protocol.h
[SCSI] libosd: remover duplicate __bitwise annotation
2013-05-02 12:15:10 -07:00
osd_sec.h
UAPI: (Scripted) Convert #include "..." to #include <path/...> in kernel system headers
2012-10-02 18:01:25 +01:00
osd_sense.h
osd_types.h
sas.h
[SCSI] sas: unify the pointlessly separated enums sas_dev_type and sas_device_type
2013-05-10 07:47:52 -07:00
sas_ata.h
[SCSI] sas: unify the pointlessly separated enums sas_dev_type and sas_device_type
2013-05-10 07:47:52 -07:00
scsi.h
target_core_alua: Referrals infrastructure
2014-01-09 21:48:17 -08:00
scsi_bsg_iscsi.h
scsi_cmnd.h
[SCSI] improved eh timeout handler
2013-12-19 07:39:02 -08:00
scsi_dbg.h
scsi_device.h
[SCSI] fix our current target reap infrastructure
2014-03-15 10:18:59 -07:00
scsi_devinfo.h
[SCSI] Workaround for disks that report bad optimal transfer length
2013-06-24 13:00:10 -07:00
scsi_dh.h
scsi_driver.h
[SCSI] Fix erratic device offline during EH
2013-12-19 07:39:02 -08:00
scsi_eh.h
scsi_host.h
[SCSI] improved eh timeout handler
2013-12-19 07:39:02 -08:00
scsi_ioctl.h
scsi_tcq.h
scsi_tgt.h
scsi_tgt_if.h
scsi_transport.h
scsi_transport_fc.h
[SCSI] scsi_transport_fc: Add 32Gbps speed definition.
2014-03-15 10:17:50 -07:00
scsi_transport_iscsi.h
[SCSI] scsi_transport_iscsi: Add host statistics support
2013-12-19 20:56:25 -08:00
scsi_transport_sas.h
[SCSI] sas: unify the pointlessly separated enums sas_dev_type and sas_device_type
2013-05-10 07:47:52 -07:00
scsi_transport_spi.h
scsi_transport_srp.h
scsi_transport_srp: Fix kernel-doc warnings
2014-01-21 10:46:17 -08:00
scsicam.h
sg.h
srp.h