'\" t .\" Title: iscsi_block_scsi_eh .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: SCSI mid layer .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "ISCSI_BLOCK_SCSI_EH" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "SCSI mid layer" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" iscsi_block_scsi_eh \- block scsi eh until session state has transistioned .SH "SYNOPSIS" .HP \w'int\ iscsi_block_scsi_eh('u .BI "int iscsi_block_scsi_eh(struct\ scsi_cmnd\ *\ " "cmd" ");" .SH "ARGUMENTS" .PP \fIcmd\fR .RS 4 scsi cmd passed to scsi eh handler .RE .SH "DESCRIPTION" .PP If the session is down this function will wait for the recovery timer to fire or for the session to be logged back in\&. If the recovery timer fires then FAST_IO_FAIL is returned\&. The caller should pass this error value to the scsi eh\&. .SH "AUTHORS" .PP \fBJames Bottomley\fR <\&James.Bottomley@hansenpartnership.com\&> .RS 4 Author. .RE .PP \fBRob Landley\fR <\&rob@landley.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br