]> err.no Git - linux-2.6/commit
[SCSI] libsas: modify error handler to use scsi_eh_* functions
authorDarrick J. Wong <djwong@us.ibm.com>
Mon, 30 Oct 2006 23:18:39 +0000 (15:18 -0800)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 15 Nov 2006 18:14:16 +0000 (12:14 -0600)
commitf456393e195e0aa16029985f63cd93b601a0d315
treedc4b9d4c0705d5fe2d94669b1a75053f52755cb7
parentb4d38e38e66f8e1b32a1b1c00e533175314c8d56
[SCSI] libsas: modify error handler to use scsi_eh_* functions

This patch adds an EH done queue to sas_ha, converts the error handling
strategy function and the sas_scsi_task_done functions in libsas to use
the scsi_eh_* commands for error'd commands, and adds checks for the
INITIATOR_ABORTED flag so that we do the right thing if a sas_task has
been aborted by the initiator.

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