Go to main content

man pages section 3: Extended Library Functions, Volume 4

Exit Print View

Updated: Thursday, June 13, 2019
 
 

stmfGetAluaState(3STMF)

Name

stmfGetAluaState - return the Asymmetric Logical Unit Access State (ALUA) mode for STMF

Synopsis

cc [ flag... ] file... -lstmf [ library... ]
#include <libstmf.h>

int stmfGetAluaState(boolean_t *alua_enabled, uint32_t *node);

Parameters

alua_enabled

Set to B_TRUE or B_FALSE on success.

node

Set to 0 or 1 on success.

Description

The stmfGetAluaState() function returns the Asymmetric Logical Unit Access State (ALUA) mode for STMF along with the node setting.

Return Values

The following values are returned:

STMF_ERROR_INVALID_ARG

Either alua_enabled or node was incorrectly set.

STMF_STATUS_SUCCESS

The API call was successful.

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
MT-Level
Safe

See Also

libstmf(3LIB), attributes(7)