Lines Matching refs:SCSI
2 SCSI EH
5 This document describes SCSI midlayer error handling infrastructure.
7 information regarding SCSI midlayer.
11 [1] How SCSI commands travel through the midlayer and to EH
17 [2] How SCSI EH works
23 [2-2-1] Pre transportt->eh_strategy_handler() SCSI midlayer conditions
24 [2-2-2] Post transportt->eh_strategy_handler() SCSI midlayer conditions
28 [1] How SCSI commands travel through the midlayer and to EH
32 Each SCSI command is represented with struct scsi_cmnd (== scmd). A
90 *NOTE* After returning BLK_EH_HANDLED the SCSI layer is
92 functions from the SCSI layer will be called. So this
136 5. 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
165 LLDD's can implement SCSI EH actions in one of the following two
169 LLDD can implement fine-grained EH callbacks and let SCSI
175 handling. As such, it should do all chores the SCSI midlayer
178 Once recovery is complete, SCSI EH resumes normal operation by
197 If eh_strategy_handler() is not present, SCSI midlayer takes charge
205 severity. Some actions are performed by issuing SCSI commands and
234 timed-out scmds, SCSI EH ensures that LLDD forgets about a scmd
298 SCSI transports/LLDDs automatically acquire sense data on
306 FAILED in such cases thus invoking SCSI EH. When the scmd
387 is used. Also, as we're not issuing SCSI commands and
431 it should perform SCSI EH maintenance chores to maintain integrity of
432 SCSI midlayer. IOW, of the steps described in [2-1-2], all steps
436 [2-2-1] Pre transportt->eh_strategy_handler() SCSI midlayer conditions
449 [2-2-2] Post transportt->eh_strategy_handler() SCSI midlayer conditions