From: Tejun Heo Date: Mon, 15 May 2006 11:58:12 +0000 (+0900) Subject: [PATCH] libata-eh-fw: update ata_scsi_error() for new EH X-Git-Tag: v2.6.18-rc1~1079^2~98^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad9e27624479bd167dd7eac0cea4bb3ad13bc926;p=pandora-kernel.git [PATCH] libata-eh-fw: update ata_scsi_error() for new EH Update ata_scsi_error() for new EH. ata_scsi_error() is responsible for claiming timed out qcs and invoking ->error_handler in safe and synchronized manner. As the state of the controller is unknown if a qc has timed out, the port is frozen in such cases. Note that ata_scsi_timed_out() isn't used for new EH. This is because a timed out qc cannot be claimed by EH without freezing the port and freezing the port in ata_scsi_timed_out() results in unnecessary abortion of other active qcs. ata_scsi_timed_out() can be removed once all drivers are converted to new EH. While at it, add 'TODO: kill' comments to old EH functions. Signed-off-by: Tejun Heo --- Reading git-diff-tree failed