iscsi_session_recovery_tmo_get(3)
π NAME π
okay bestie, this is the iscsi_session_recovery_tmo_get(3) page from the API Manual π β and yes, the function name is a whole mouthful, but she does one iconic thing: she retrieves the recovery timeout value of the specified session. periodt.
β¨ SYNOPSIS β¨
int32_t iscsi_session_recovery_tmo_get (struct iscsi_session *se);
π¦ ARGUMENTS π¦
seβ a pointer tostruct iscsi_session. If this pointer isNULL, your program will be terminated byassert.
β οΈ bestie, do not hand her aNULLpointer unless you want your program to get absolutely wrecked byassert. not cute, not slay, just π.
π DESCRIPTION π
This retrieves the recovery timeout value of the specified iSCSI session. The recovery timeout here means the seconds of time to wait for session re-establishment before failing SCSI commands back to the application when running the Linux SCSI Layer error handler. It could be controlled via this setting in iscsid.conf:
π RETURN π
Returns int32_t. β¨ If the value is 0, IO will be failed immediately. If the value is less than 0, IO will remain queued until the session is logged back in, or until the user runs the logout command.
mwah π β September 2026, and the footer/source-version line literally reads iscsi_session_recoveriscsi_session_recovery_tmo_get(3). yes, sheβs a little cursed, but thatβs the text, iykyk π«Ά
π¦ where this page comes from
- alpine 3.24: open-iscsi-doc 2.1.12-r0 Β· GPL-2.0-only
- arch rolling: open-iscsi 2.1.13-1 Β· GPL
- debian bookworm: libopeniscsiusr-dev 2.1.8-1+deb12u1 Β· GPL-2.0-or-later
- ubuntu stonking: libopeniscsiusr-dev 2.1.11-5ubuntu6 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms