- int srp_tmo_valid(int reconnect_delay, int fast_io_fail_tmo, int dev_loss_tmo);
- Reconnect delay in seconds.
- Fast I/O fail timeout in seconds.
- Device loss timeout in seconds.
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 nor allow dev_loss_tmo to exceed that limit if failing I/O fast has been disabled. Furthermore, these parameters must be such that multipath can detect failed paths timely. Hence do not allow all three parameters to be disabled simultaneously.