Changing the timeout value for the FC transport class

You can change the timeout value for the Fibre Channel (FC) transport class when the I/O operation stalls.

About this task

The FC transport class keeps all outstanding I/O for a certain time until it determines that the remote port is not responding. This time period is controlled by the timeout value. The default time is 60 seconds. This situation causes a temporary I/O stall in the case of FC link incidents or when paths are varied offline.

Procedure

Change the timeout value.
  • Set the timeout value for each remote port by using the sysfs file system.
    /sys/class/fc_remote_ports/rport-0:0-0/dev_loss_tmo
  • Preset the timeout value for all remote ports when you load the scsi_transport_fc module by using the dev_loss_tmo parameter.