diff options
author | Tejun Heo <htejun@gmail.com> | 2006-05-31 05:27:27 -0400 |
---|---|---|
committer | Tejun Heo <htejun@gmail.com> | 2006-05-31 05:27:27 -0400 |
commit | c6cf9e99d1de5ca6a08fb639bb73031ffe50d802 (patch) | |
tree | 555a47d45b5b80ef14ff53ccb4c6d1439460e251 /drivers/scsi/libata.h | |
parent | 7395acb2c840fd4d0cacc91d6fb71440057141ab (diff) |
[PATCH] libata: implement ata_eh_wait()
Implement ata_eh_wait(). On return from this function, it's
guaranteed that the EH which was pending or in progress when the
function was called is complete - including the tailing part of SCSI
EH. This will be used by hotplug and others to synchronize with EH.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Diffstat (limited to 'drivers/scsi/libata.h')
-rw-r--r-- | drivers/scsi/libata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/libata.h b/drivers/scsi/libata.h index b76ad7d7062a..d56d9e1d73dc 100644 --- a/drivers/scsi/libata.h +++ b/drivers/scsi/libata.h | |||
@@ -103,6 +103,7 @@ extern void ata_schedule_scsi_eh(struct Scsi_Host *shost); | |||
103 | /* libata-eh.c */ | 103 | /* libata-eh.c */ |
104 | extern enum scsi_eh_timer_return ata_scsi_timed_out(struct scsi_cmnd *cmd); | 104 | extern enum scsi_eh_timer_return ata_scsi_timed_out(struct scsi_cmnd *cmd); |
105 | extern void ata_scsi_error(struct Scsi_Host *host); | 105 | extern void ata_scsi_error(struct Scsi_Host *host); |
106 | extern void ata_port_wait_eh(struct ata_port *ap); | ||
106 | extern void ata_qc_schedule_eh(struct ata_queued_cmd *qc); | 107 | extern void ata_qc_schedule_eh(struct ata_queued_cmd *qc); |
107 | 108 | ||
108 | #endif /* __LIBATA_H__ */ | 109 | #endif /* __LIBATA_H__ */ |