aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi/libsas.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2012-06-22 02:30:53 -0400
committerJames Bottomley <JBottomley@Parallels.com>2012-07-20 03:58:50 -0400
commit9524c6821849bddad4bf592a47276cfb8a8a98c0 (patch)
treef49578198e8ab3388f529a7a39aefc69af535d82 /include/scsi/libsas.h
parent5db45bdc87ce4f503947adf7896586d60c63322c (diff)
[SCSI] libsas: add sas_eh_abort_handler
When recovering failed eh-cmnds let the lldd attempt an abort via scsi_abort_eh_cmnd before escalating. Reviewed-by: Jacek Danecki <jacek.danecki@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi/libsas.h')
-rw-r--r--include/scsi/libsas.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h
index df9cefdf2a8e..acefe13ebacf 100644
--- a/include/scsi/libsas.h
+++ b/include/scsi/libsas.h
@@ -720,6 +720,7 @@ void sas_unregister_dev(struct asd_sas_port *port, struct domain_device *);
720void sas_init_dev(struct domain_device *); 720void sas_init_dev(struct domain_device *);
721 721
722void sas_task_abort(struct sas_task *); 722void sas_task_abort(struct sas_task *);
723int sas_eh_abort_handler(struct scsi_cmnd *cmd);
723int sas_eh_device_reset_handler(struct scsi_cmnd *cmd); 724int sas_eh_device_reset_handler(struct scsi_cmnd *cmd);
724int sas_eh_bus_reset_handler(struct scsi_cmnd *cmd); 725int sas_eh_bus_reset_handler(struct scsi_cmnd *cmd);
725 726