srp_tmo_valid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay bestie, this is srp_tmo_valid(9) from the Kernel API Manual, and its whole job is literally to check timeout combination validity. no cap, that's the function. 🫢✨

✨ SYNOPSIS ✨

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

πŸŽ€ ARGUMENTS πŸŽ€

  • reconnect_delay β€” the reconnect delay, in seconds. yes, seconds, keep up πŸ’…
  • fast_io_fail_tmo β€” the fast I/O fail timeout, in seconds. ⏱️
  • dev_loss_tmo β€” the device loss timeout, in seconds. πŸ¦‹

πŸ”₯ DESCRIPTION πŸ”₯

so the combo of timeout parameters has to be such that SCSI commands are finished in a reasonable time. that's the whole vibe check. if the numbers are giving chaos, this function is not having it. 😭

that means you do not allow the fast I/O fail timeout to exceed SCSI_DEVICE_BLOCK_MAX_TIMEOUT, and you also do not allow dev_loss_tmo to exceed that limit if failing I/O fast has been disabled. periodt. πŸ’€

plus, these parameters have to be such that multipath can detect failed paths timely. so yeah β€” do not allow all three parameters to be disabled simultaneously. that's the one-way ticket to bad-path-detection city, and we are not going there. πŸš«πŸ¦‹

🌈 SEE ALSO 🌈

kernel file: ./drivers/scsi/scsi_transport_srp.c


mwah πŸ’‹ this lil page lives under ./drivers/scsi and is dated October 2026 β€” see you in the group chat, bestie! πŸ«Άβœ¨πŸ‘‘

πŸ“¦ where this page comes from