1dmmp_path_status_gDeetv(i3c)e Mapper Multipath API - libdmmp Mdamnmupa_lpath_status_get(3)
2
3
4
6 dmmp_path_status_get - Retrieve the path status.
7
9 uint32_t dmmp_path_status_get (struct dmmp_path *dmmp_p);
10
12 dmmp_p Pointer of 'struct dmmp_path'. If this pointer is NULL,
13 your program will be terminated by assert.
14
16 The valid path statuses are:
17
18 * DMMP_PATH_STATUS_UNKNOWN
19
20 * DMMP_PATH_STATUS_DOWN
21
22 Path is down and you shouldn't try to send commands to it.
23
24 * DMMP_PATH_STATUS_UP
25
26 Path is up and I/O can be sent to it.
27
28 * DMMP_PATH_STATUS_SHAKY
29
30 Only emc_clariion checker when path not available for "normal" opera‐
31 tions.
32
33 * DMMP_PATH_STATUS_GHOST
34
35 Only hp_sw and rdac checkers. Indicates a "passive/standby" path on
36 active/passive HP arrays. These paths will return valid answers to cer‐
37 tain SCSI commands (tur, read_capacity, inquiry, start_stop), but will
38 fail I/O commands. The path needs an initialization command to be sent
39 to it in order for I/Os to succeed.
40
41 * DMMP_PATH_STATUS_PENDING
42
43 Available for all async checkers when a check IO is in flight.
44
45 * DMMP_PATH_STATUS_TIMEOUT
46
47 Only tur checker when command timed out.
48
49 * DMMP_PATH_STATUS_DELAYED
50
51 If a path fails after being up for less than delay_watch_checks checks,
52 when it comes back up again, it will not be marked as up until it has
53 been up for delay_wait_checks checks. During this time, it is marked as
54 "delayed".
55
57 uint32_t.
58
59
60
61March 2018 dmmp_path_status_get dmmp_path_status_get(3)