dmmp_flush_mpath(3) | Device Mapper Multipath API - libdmmp Manual | dmmp_flush_mpath(3) |
dmmp_flush_mpath - Flush specified multipath device map if unused.
int dmmp_flush_mpath (struct dmmp_context *ctx, const char *mpath_name);
Flush a multipath device map specified as parameter, if unused.
int. Valid error codes are:
* DMMP_OK
* DMMP_ERR_BUG
* DMMP_ERR_NO_MEMORY
* DMMP_ERR_NO_DAEMON
* DMMP_ERR_MPATH_BUSY
* DMMP_ERR_MPATH_NOT_FOUND
* DMMP_ERR_INVALID_ARGUMENT
* DMMP_ERR_PERMISSION_DENY
Error number could be converted to string by dmmp_strerror.
dmmp_flush_mpath | June 2020 |