---
name: "srp_tmo_valid"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/srp_tmo_valid"
---

# srp\_tmo\_valid(9)

check timeout combination validity

## 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*

Reconnect delay in seconds.

*fast\_io\_fail\_tmo*

Fast I/O fail timeout in seconds.

*dev\_loss\_tmo*

Device loss timeout in seconds.

## 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 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.

## AUTHORS

**James Bottomley** \<James.Bottomley@hansenpartnership.com\>

Author.

**Rob Landley** \<rob@landley.net\>

Author.

## COPYRIGHT
