1SRP_TMO_VALID(9) SCSI mid layer SRP_TMO_VALID(9)
2
3
4
6 srp_tmo_valid - check timeout combination validity
7
9 int srp_tmo_valid(int reconnect_delay, int fast_io_fail_tmo,
10 int dev_loss_tmo);
11
13 reconnect_delay
14 Reconnect delay in seconds.
15
16 fast_io_fail_tmo
17 Fast I/O fail timeout in seconds.
18
19 dev_loss_tmo
20 Device loss timeout in seconds.
21
23 The combination of the timeout parameters must be such that SCSI
24 commands are finished in a reasonable time. Hence do not allow the fast
25 I/O fail timeout to exceed SCSI_DEVICE_BLOCK_MAX_TIMEOUT nor allow
26 dev_loss_tmo to exceed that limit if failing I/O fast has been
27 disabled. Furthermore, these parameters must be such that multipath can
28 detect failed paths timely. Hence do not allow all three parameters to
29 be disabled simultaneously.
30
32 James Bottomley <James.Bottomley@hansenpartnership.com>
33 Author.
34
35 Rob Landley <rob@landley.net>
36 Author.
37
39Kernel Hackers Manual 2.6. June 2019 SRP_TMO_VALID(9)