Go to main content

man pages section 3: Extended Library Functions, Volume 4

Exit Print View

Updated: July 2017
 
 

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(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Interface Stability
Committed
MT-Level
Safe

See Also

libstmf(3LIB), attributes(5)