Name

srp_timed_out — SRP transport intercept of the SCSI timeout EH

Synopsis

enum blk_eh_timer_return srp_timed_out (struct scsi_cmnd * scmd);
 

Arguments

struct scsi_cmnd * scmd

SCSI command.

Description

If a timeout occurs while an rport is in the blocked state, ask the SCSI EH to continue waiting (BLK_EH_RESET_TIMER). Otherwise let the SCSI core handle the timeout (BLK_EH_NOT_HANDLED).

Note

This function is called from soft-IRQ context and with the request queue lock held.