.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "SCSI_BLOCK_WHEN_PROCESSING_ERRORS" "" "06 October 2005" "" "" .SH NAME scsi_block_when_processing_errors \- Prevent cmds from being queued. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int scsi_block_when_processing_errors (struct scsi_device * \fIsdev\fB); \fR .SH "ARGUMENTS" .TP \fB\fIsdev\fB\fR Device on which we are performing recovery. .SH "DESCRIPTION" .PP We block until the host is out of error recovery, and then check to see whether the host or the device is offline. .SH "RETURN VALUE" .PP 0 when dev was taken offline by error recovery. 1 OK to proceed.