android_kernel_xiaomi_sdm845/drivers/scsi/libsas
Darrick J. Wong 396819fba8 [SCSI] libsas: Delay issuing ABORT TASK TMF until the error handler
sas_task_abort() should simply abort the upper-level SCSI command and wait
until the error handler to send the actual ABORT TASK command.  By
deferring things to the EH we simplify the concurrency coordination and
eliminate some race conditions.  Note that sas_task_abort has a few hooks
to handle libsas internal commands properly too.

Also rename do_sas_task_abort to __sas_task_abort just in case we really
want to abort the task *right now* and we don't have a scsi_cmnd attached
to the command.  This is a hook for libata internal commands to abort.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-01-13 16:18:06 -06:00
..
Kconfig [SCSI] aic94xx: new driver 2006-08-29 09:52:29 -05:00
Makefile [SCSI] aic94xx: new driver 2006-08-29 09:52:29 -05:00
sas_discover.c [SCSI] libsas: Clean up rphys/port dev list after a discovery error. 2007-01-13 14:23:36 -06:00
sas_dump.c [SCSI] aic94xx: new driver 2006-08-29 09:52:29 -05:00
sas_dump.h [SCSI] aic94xx: new driver 2006-08-29 09:52:29 -05:00
sas_event.c WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
sas_expander.c [SCSI] libsas: Clean up rphys/port dev list after a discovery error on an expander 2007-01-13 14:24:25 -06:00
sas_init.c [SCSI] libsas: Destroy the task collector thread after releasing ports 2007-01-13 16:15:27 -06:00
sas_internal.h WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
sas_phy.c WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
sas_port.c WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
sas_scsi_host.c [SCSI] libsas: Delay issuing ABORT TASK TMF until the error handler 2007-01-13 16:18:06 -06:00