srp_tmo_valid(9)

srp_tmo_valid9

Check timeout combination validity

Usage

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.

Overview

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.

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

Authors

James Bottomley <[email protected]>

Author.

Rob Landley <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.