diff options
author | Tejun Heo <htejun@gmail.com> | 2006-05-31 18:27:27 +0900 |
---|---|---|
committer | Tejun Heo <htejun@gmail.com> | 2006-05-31 18:27:27 +0900 |
commit | c6cf9e99d1de5ca6a08fb639bb73031ffe50d802 (patch) | |
tree | 555a47d45b5b80ef14ff53ccb4c6d1439460e251 /drivers/scsi/libata.h | |
parent | 7395acb2c840fd4d0cacc91d6fb71440057141ab (diff) | |
download | linux-3.10-c6cf9e99d1de5ca6a08fb639bb73031ffe50d802.tar.gz linux-3.10-c6cf9e99d1de5ca6a08fb639bb73031ffe50d802.tar.bz2 linux-3.10-c6cf9e99d1de5ca6a08fb639bb73031ffe50d802.zip |
[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 b76ad7d7062..d56d9e1d73d 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); /* libata-eh.c */ extern enum scsi_eh_timer_return ata_scsi_timed_out(struct scsi_cmnd *cmd); extern void ata_scsi_error(struct Scsi_Host *host); +extern void ata_port_wait_eh(struct ata_port *ap); extern void ata_qc_schedule_eh(struct ata_queued_cmd *qc); #endif /* __LIBATA_H__ */ |