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 to struct iscsi_session. If this pointer is NULL, your program will be terminated by assert.
⚠️ bestie, do not hand her a NULL pointer unless you want your program to get absolutely wrecked by assert. 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