Scroll to navigation

SRP_TIMED_OUT(9) SCSI mid layer SRP_TIMED_OUT(9)

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.

AUTHORS

James Bottomley <James.Bottomley@hansenpartnership.com>

Author.

Rob Landley <rob@landley.net>

Author.

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11