logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

iscsi_session_recovery_tmo_get - Retrieve recovery timeout value of specified session

Arguments

se Pointer of 'struct iscsi_session'. If this pointer is NULL, your program will be terminated by assert.

Description

Retrieve the recovery timeout value of 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:

Name

iscsi_session_recovery_tmo_get - Retrieve recovery timeout value of specified session

Return

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. July 2025 iscsi_session_recovery_tmo_get iscsi_session_recovery_tmo_get(3)

Synopsis

int32_tiscsi_session_recovery_tmo_get(structiscsi_session*se);

See Also