---
name: "iscsi_session_recovery_tmo_get"
section: "3"
platform: "linux"
package: "open-iscsi"
version: "2.1.13-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/iscsi_session_recovery_tmo_get"
---

# iscsi\_session\_recovery\_tmo\_get(3)

Retrieve recovery timeout value of specified session

## NAME

iscsi\_session\_recovery\_tmo\_get - Retrieve recovery timeout value of specified session

## SYNOPSIS

**int32\_t iscsi\_session\_recovery\_tmo\_get** **(struct iscsi\_session \****se***);**

## 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:

## 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.
