dmmp_path_group_status_get man page

dmmp_path_group_status_get — Retrieve path group status.

Synopsis

uint32_t dmmp_path_group_status_get (struct dmmp_path_group *dmmp_pg);

Arguments

dmmp_pg

Pointer of 'struct dmmp_path_group'. If this pointer is NULL, your program will be terminated by assert.

Description

The valid path group statuses are:

* DMMP_PATH_GROUP_STATUS_UNKNOWN

* DMMP_PATH_GROUP_STATUS_ENABLED  -- standby to be active

* DMMP_PATH_GROUP_STATUS_DISABLED -- disabled due to all path down

* DMMP_PATH_GROUP_STATUS_ACTIVE -- selected to handle I/O

Return

uint32_t.

Info

dmmp_path_group_status_get December 2017 Device Mapper Multipath API - libdmmp Manual