1SCSI_EH_FINISH_CMD(9) SCSI mid layer SCSI_EH_FINISH_CMD(9)
2
3
4
6 scsi_eh_finish_cmd - Handle a cmd that eh is finished with.
7
9 void scsi_eh_finish_cmd(struct scsi_cmnd * scmd,
10 struct list_head * done_q);
11
13 scmd
14 Original SCSI cmd that eh has finished.
15
16 done_q
17 Queue for processed commands.
18
20 We don't want to use the normal command completion while we are are
21 still handling errors - it may cause other commands to be queued, and
22 that would disturb what we are doing. Thus we really want to keep a
23 list of pending commands for final completion, and once we are ready to
24 leave error handling we handle completion for real.
25
27 James Bottomley <James.Bottomley@hansenpartnership.com>
28 Author.
29
30 Rob Landley <rob@landley.net>
31 Author.
32
34Kernel Hackers Manual 3.10 June 2019 SCSI_EH_FINISH_CMD(9)