dmmp_path_status_str

Section: Device Mapper Multipath API - libdmmp Manual (3)
Updated: dmmp_path_status_str
Page Index
 

NAME

dmmp_path_status_str - Convert path status to string.  

SYNOPSIS

const char * dmmp_path_status_str (uint32_t path_status);  

ARGUMENTS

path_status
uint32_t. Path status. When provided value is not a valid path status, return "Invalid argument".
 

DESCRIPTION

Convert path status uint32_t to string (const char *):

* DMMP_PATH_STATUS_UNKNOWN -- "undef"

* DMMP_PATH_STATUS_DOWN -- "faulty"

* DMMP_PATH_STATUS_UP -- "ready"

* DMMP_PATH_STATUS_SHAKY -- "shaky"

* DMMP_PATH_STATUS_GHOST -- "ghost"

* DMMP_PATH_STATUS_PENDING -- "pending"

* DMMP_PATH_STATUS_TIMEOUT -- "timeout"

* DMMP_PATH_STATUS_REMOVED -- "removed"

* DMMP_PATH_STATUS_DELAYED -- "delayed"  

RETURN

const char *. The meaning of status value.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION
RETURN