scsi_eh_finish_cmd(9)

scsi_eh_finish_cmd9

Handle a cmd that eh is finished with.

Usage

void scsi_eh_finish_cmd(struct scsi_cmnd * scmd, struct list_head * done_q);

Arguments

scmd

Original SCSI cmd that eh has finished.

done_q

Queue for processed commands.

Notes

We don't want to use the normal command completion while we are are still handling errors - it may cause other commands to be queued, and that would disturb what we are doing. Thus we really want to keep a list of pending commands for final completion, and once we are ready to leave error handling we handle completion for real.

Releases

5 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9

Authors

James Bottomley <[email protected]>

Author.

Rob Landley <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.