Top |
gboolean
bd_mpath_init (void
);
Initializes the plugin. **This function is called automatically by the library's initialization functions.**
void
bd_mpath_close (void
);
Cleans up after the plugin. **This function is called automatically by the library's functions that unload it.**
gboolean
bd_mpath_flush_mpaths (GError **error
);
whether multipath device maps were successfully flushed or not
Flushes all unused multipath device maps.
Tech category: BD_MPATH_TECH_BASE
-BD_MPATH_TECH_MODE_MODIFY
gboolean bd_mpath_is_mpath_member (const gchar *device
,GError **error
);
TRUE
if the device is a multipath member, FALSE
if not or an error
appeared when queried (error
is set in those cases)
Tech category: BD_MPATH_TECH_BASE
-BD_MPATH_TECH_MODE_QUERY
gchar **
bd_mpath_get_mpath_members (GError **error
);
list of names of all devices that are
members of the mpath mappings (or NULL
in case of error)
Tech category: BD_MPATH_TECH_BASE
-BD_MPATH_TECH_MODE_QUERY
.
[transfer full][array zero-terminated=1]
gboolean bd_mpath_set_friendly_names (gboolean enabled
,GError **error
);
enabled |
whether friendly names should be enabled or not |
|
error |
place to store error (if any). |
[out][optional] |
if successfully set or not
Tech category: BD_MPATH_TECH_FRIENDLY_NAMES
-BD_MPATH_TECH_MODE_MODIFY
gboolean bd_mpath_is_tech_avail (BDMpathTech tech
,guint64 mode
,GError **error
);