linux-stable/include/scsi
Mike Christie 60ecebf5a1 [SCSI] add refcouting around ctask usage in main IO patch
It is possible that a ctask could be completing and getting
cleaned up at the same time, we are finishing up the last
data transfer. This could then result in the data transfer
code using stale or invalid values. This patch adds a refcount
to the ctask. When the count goes to zero then we know the
transmit thread and recv thread or softirq are not touching
it and we can safely release it.

The eh should not need to grab a reference because it only cleans
up a task if it has both the xmit mutex and recv lock (or recv
side suspended).

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2006-09-02 13:37:07 -05:00
..
iscsi_if.h [SCSI] iscsi: add async notification of session events 2006-06-29 11:14:42 -04:00
iscsi_proto.h [SCSI] iscsi: update version 2006-05-20 09:36:38 -05:00
Kbuild Add generic Kbuild files for 'make headers_install' 2006-06-18 12:14:01 +01:00
libiscsi.h [SCSI] add refcouting around ctask usage in main IO patch 2006-09-02 13:37:07 -05:00
libsas.h [SCSI] aic94xx: new driver 2006-08-29 09:52:29 -05:00
sas.h [SCSI] aic94xx: new driver 2006-08-29 09:52:29 -05:00
scsi.h [SCSI] aic94xx: new driver 2006-08-29 09:52:29 -05:00
scsi_cmnd.h [SCSI] remove SCSI_STATE_ #defines 2006-08-06 11:35:39 -05:00
scsi_dbg.h [SCSI] remove scsi_request infrastructure 2006-06-10 16:24:40 -05:00
scsi_device.h [SCSI] add scsi_mode_select to scsi_lib.c 2006-03-19 10:19:14 -06:00
scsi_devinfo.h Merge ../scsi-rc-fixes-2.6 2006-04-14 15:47:45 -05: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 [SCSI] remove scsi_request infrastructure 2006-06-10 16:24:40 -05:00
scsi_host.h [SCSI] add shared tag map helpers 2006-08-31 11:18:03 -04:00
scsi_ioctl.h [SCSI] unify SCSI_IOCTL_SEND_COMMAND implementations 2006-04-13 10:13:15 -05:00
scsi_tcq.h [SCSI] add shared tag map helpers 2006-08-31 11:18:03 -04:00
scsi_transport.h [PATCH] move ->eh_strategy_handler to the transport class 2006-04-10 14:15:47 -04:00
scsi_transport_fc.h [SCSI] fc transport: add fc_host system_hostname attribute and u64_to_wwn() 2006-08-19 13:43:10 -07:00
scsi_transport_iscsi.h [SCSI] iscsi bugfixes: fix oops when iser is flushing io 2006-07-28 11:48:32 -05:00
scsi_transport_sas.h [SCSI] scsi_transport_sas: remove local_attached flag 2006-08-27 22:30:11 -05:00
scsi_transport_spi.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01: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
srp.h [SCSI] srp.h: Add I/O Class values 2006-06-17 20:37:38 -07:00