dmmp_flush_mpath(3)

dmmp_flush_mpath3

Flush specified multipath device map if unused.

Usage

int dmmp_flush_mpath (struct dmmp_context *ctx, const char *mpath_name);

Arguments

ctx

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

mpath_name

const char *. The name of multipath device map.

Overview

Flush a multipath device map specified as parameter, if unused.

Return

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.

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. Arch

From multipath-tools 0.15.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.