1SCSI_BLOCK_WHEN_PROC(9) SCSI mid layer SCSI_BLOCK_WHEN_PROC(9)
2
3
4
6 scsi_block_when_processing_errors - Prevent cmds from being queued.
7
9 int scsi_block_when_processing_errors(struct scsi_device * sdev);
10
12 sdev
13 Device on which we are performing recovery.
14
16 We block until the host is out of error recovery, and then check to see
17 whether the host or the device is offline.
18
20 0 when dev was taken offline by error recovery. 1 OK to proceed.
21
23 James Bottomley <James.Bottomley@hansenpartnership.com>
24 Author.
25
26 Rob Landley <rob@landley.net>
27 Author.
28
30Kernel Hackers Manual 3.10 June 2019 SCSI_BLOCK_WHEN_PROC(9)