1dmmp_flush_mpath(3D)evice Mapper Multipath API - libdmmp Manuadlmmp_flush_mpath(3)
2
3
4
6 dmmp_flush_mpath - Flush specified multipath device map if unused.
7
9 int dmmp_flush_mpath (struct dmmp_context *ctx, const char
10 *mpath_name);
11
13 ctx Pointer of 'struct dmmp_context'. If this pointer is NULL,
14 your program will be terminated by assert.
15
16 mpath_name const char *. The name of multipath device map.
17
19 Flush a multipath device map specified as parameter, if unused.
20
22 int. Valid error codes are:
23
24 * DMMP_OK
25
26 * DMMP_ERR_BUG
27
28 * DMMP_ERR_NO_MEMORY
29
30 * DMMP_ERR_NO_DAEMON
31
32 * DMMP_ERR_MPATH_BUSY
33
34 * DMMP_ERR_MPATH_NOT_FOUND
35
36 * DMMP_ERR_INVALID_ARGUMENT
37
38 * DMMP_ERR_PERMISSION_DENY
39
40 Error number could be converted to string by dmmp_strerror.
41
42
43
44March 2018 dmmp_flush_mpath dmmp_flush_mpath(3)