Lines Matching refs:SCSI
4 SCSI EH
7 This document describes SCSI midlayer error handling infrastructure.
9 information regarding SCSI midlayer.
13 [1] How SCSI commands travel through the midlayer and to EH
19 [2] How SCSI EH works
25 [2-2-1] Pre transportt->eh_strategy_handler() SCSI midlayer conditions
26 [2-2-2] Post transportt->eh_strategy_handler() SCSI midlayer conditions
30 1. How SCSI commands travel through the midlayer and to EH
36 Each SCSI command is represented with struct scsi_cmnd (== scmd). A
136 4. Wakes up SCSI EH thread if shost->host_busy == shost->host_failed
146 shost->host_failed. This wakes up SCSI EH thread. So, once woken up,
147 SCSI EH thread can expect that all in-flight commands have failed and
159 We'll talk about how SCSI EH takes actions to abort - make LLDD
163 2. How SCSI EH works
166 LLDD's can implement SCSI EH actions in one of the following two
170 LLDD can implement fine-grained EH callbacks and let SCSI
176 handling. As such, it should do all chores the SCSI midlayer
179 Once recovery is complete, SCSI EH resumes normal operation by
200 If eh_strategy_handler() is not present, SCSI midlayer takes charge
208 severity. Some actions are performed by issuing SCSI commands and
239 timed-out scmds, SCSI EH ensures that LLDD forgets about a scmd
319 SCSI transports/LLDDs automatically acquire sense data on
327 FAILED in such cases thus invoking SCSI EH. When the scmd
408 is used. Also, as we're not issuing SCSI commands and
453 it should perform SCSI EH maintenance chores to maintain integrity of
454 SCSI midlayer. IOW, of the steps described in [2-1-2], all steps
458 2.2.1 Pre transportt->eh_strategy_handler() SCSI midlayer conditions
472 2.2.2 Post transportt->eh_strategy_handler() SCSI midlayer conditions