1. NAME

scsi_block_when_processing_errors - Prevent cmds from being queued.

2. SYNOPSIS

int scsi_block_when_processing_errors(struct scsi_device *  sdev );

3. ARGUMENTS

sdev
    Device on which we are performing recovery.

4. DESCRIPTION

We block until the host is out of error recovery, and then check to see whether the host or the device is offline.

5. RETURN VALUE

0 when dev was taken offline by error recovery. 1 OK to proceed.

6. AUTHORS

James Bottomley <>
    Author.

Rob Landley <>
    Author.

7. COPYRIGHT