---
name: "iscsi_block_scsi_eh"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/iscsi_block_scsi_eh"
---

# iscsi\_block\_scsi\_eh(9)

block scsi eh until session state has transistioned

## NAME

iscsi\_block\_scsi\_eh - block scsi eh until session state has transistioned

## SYNOPSIS

**int iscsi\_block\_scsi\_eh(struct scsi\_cmnd \*** *cmd***);**

## ARGUMENTS

*cmd*

scsi cmd passed to scsi eh handler

## DESCRIPTION

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.

## AUTHORS

**James Bottomley** \<James.Bottomley@hansenpartnership.com\>

Author.

**Rob Landley** \<rob@landley.net\>

Author.

## COPYRIGHT
