[SCSI] sas_ata: Assign sas_task to scsi_cmnd to enable EH for ATA devices
authorDarrick J. Wong <djwong@us.ibm.com>
Tue, 30 Jan 2007 09:18:55 +0000 (01:18 -0800)
committerJames Bottomley <jejb@mulgrave.localdomain>
Wed, 18 Jul 2007 16:15:55 +0000 (11:15 -0500)
commitfe059f122fb9d1bd3a629d4215a4dde11df66f98
tree7b857e0f57f64432e658cfd16dfe6531868bfca2
parent5986c3d305f497d3ff33d65e4d9ff6d00121407b
[SCSI] sas_ata: Assign sas_task to scsi_cmnd to enable EH for ATA devices

The SATL should connect the scsi_cmnd to the sas_task (despite the presence
of libata) so that requests to abort scsi_cmnds headed to the ATA device
can be processed by the EH and aborted correctly.  The abort status should
still be propagated from sas -> ata -> scsi.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/libsas/sas_ata.c