fc_block_scsi_eh (9) - Linux Man Pages
fc_block_scsi_eh: Block SCSI eh thread for blocked fc_rport
fc_block_scsi_eh - Block SCSI eh thread for blocked fc_rport
int fc_block_scsi_eh(struct scsi_cmnd
- SCSI command that scsi_eh is trying to recover
This routine can be called from a FC LLD scsi_eh callback. It blocks the scsi_eh thread until the fc_rport leaves the FC_PORTSTATE_BLOCKED, or the fast_io_fail_tmo fires. This is necessary to avoid the scsi_eh failing recovery actions for blocked rports which would lead to offlined SCSI devices.
James Bottomley <James.Bottomley [at] hansenpartnership.com>
Rob Landley <rob [at] landley.net>