1
0
Files
linux/drivers
Tejun Heo f686bcb807 [PATCH] libata-eh-fw: implement new EH scheduling via error completion
There are several ways a qc can get schedule for EH in new EH.  This
patch implements one of them - completing a qc with ATA_QCFLAG_FAILED
set or with non-zero qc->err_mask.  ALL such qc's are examined by EH.

New EH schedules a qc for EH from completion iff ->error_handler is
implemented, qc is marked as failed or qc->err_mask is non-zero and
the command is not an internal command (internal cmd is handled via
->post_internal_cmd).  The EH scheduling itself is performed by asking
SCSI midlayer to schedule EH for the specified scmd.

For drivers implementing old-EH, nothing changes.  As this change
makes ata_qc_complete() rather large, it's not inlined anymore and
__ata_qc_complete() is exported to other parts of libata for later
use.

Signed-off-by: Tejun Heo <htejun@gmail.com>
2006-05-15 20:58:05 +09:00
..
2006-04-11 06:18:46 -07:00
2006-04-21 22:20:34 +00:00
2006-04-11 06:18:40 -07:00
2006-04-20 07:54:04 -07:00
2006-04-11 06:18:43 -07:00
2006-04-26 06:19:46 -04:00
2006-04-11 06:18:47 -07:00
2006-04-11 06:18:38 -07:00
2006-04-11 06:18:44 -07:00
2006-03-24 18:23:14 +01:00
2006-03-31 12:18:56 -08:00