kernel-ark/drivers/scsi/libsas
Darrick J. Wong 1c50dc83f9 [SCSI] sas_ata: ata_post_internal should abort the sas_task
This patch adds a new field, lldd_task, to ata_queued_cmd so that libata
users such as libsas can associate some data with a qc.  The particular
ambition with this patch is to associate a sas_task with a qc; that way,
if libata decides to timeout a command, we can come back (in
sas_ata_post_internal) and abort the sas task.

One question remains: Is it necessary to reset the phy on error, or will
the libata error handler take care of it?  (Assuming that one is written,
of course.)  This patch, as it is today, works well enough to clean
things up when an ATA device probe attempt fails halfway through the probe,
though I'm not sure this is always the right thing to do.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-07-18 11:15:13 -05:00
..
Kconfig
Makefile [SCSI] Migrate libsas ATA code into a separate file 2007-07-18 11:14:40 -05:00
sas_ata.c [SCSI] sas_ata: ata_post_internal should abort the sas_task 2007-07-18 11:15:13 -05:00
sas_discover.c [SCSI] libsas: fixup NCQ for SATA disks 2007-07-18 11:14:33 -05:00
sas_dump.c
sas_dump.h
sas_event.c [SCSI] libsas: Add SAS_HA state flags to avoid queueing events while unloading 2007-01-13 16:21:53 -06:00
sas_expander.c [SCSI] libsas: better error handling in sas_ex_discover_end_dev() 2007-07-18 11:14:25 -05:00
sas_init.c [SCSI] libsas: Add SAS_HA state flags to avoid queueing events while unloading 2007-01-13 16:21:53 -06:00
sas_internal.h [SCSI] libsas: Add SAS_HA state flags to avoid queueing events while unloading 2007-01-13 16:21:53 -06:00
sas_phy.c WorkStruct: make allyesconfig 2006-11-22 14:57:56 +00:00
sas_port.c [SCSI] libsas: Fix incorrect sas_port deformation in sas_form_port 2007-01-27 10:04:58 -06:00
sas_scsi_host.c [SCSI] sas_ata: Satisfy libata qc function locking requirements 2007-07-18 11:14:55 -05:00