dmmp_path_status_str - Man Page
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.
Info
March 2018 Device Mapper Multipath API - libdmmp Manual