1. NAME

iscsi_block_scsi_eh - block scsi eh until session state has transistioned

2. SYNOPSIS

int iscsi_block_scsi_eh(struct scsi_cmnd *  cmd );

3. ARGUMENTS

cmd
    scsi cmd passed to scsi eh handler

4. 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.

5. AUTHORS

James Bottomley < >
    Author.

Rob Landley < >
    Author.

6. COPYRIGHT