Name

srp_tmo_valid — check timeout combination validity

Synopsis

int srp_tmo_valid (int reconnect_delay,
 int fast_io_fail_tmo,
 int dev_loss_tmo);
 

Arguments

reconnect_delay

-- undescribed --

fast_io_fail_tmo

-- undescribed --

dev_loss_tmo

-- undescribed --

Description

The combination of the timeout parameters must be such that SCSI commands are finished in a reasonable time. Hence do not allow the fast I/O fail timeout to exceed SCSI_DEVICE_BLOCK_MAX_TIMEOUT. Furthermore, these parameters must be such that multipath can detect failed paths timely. Hence do not allow all three parameters to be disabled simultaneously.