[dm-devel] [PATCH 04/10] multipathd: add "map failures" format wildcard

Hannes Reinecke hare at suse.de
Sun Oct 30 13:45:30 UTC 2016


On 10/29/2016 04:55 AM, Benjamin Marzinski wrote:
> This patch adds a new wildcard, 'x', for the "show maps format" command.
> This wildcard show the number of map failures that have occurred. A map
> failure is any time that the multipath device enters a state where it
> has no paths and is not set to queue_if_no_paths. It can be used to see
> if a multipath device was ever in a state were it could fail IO errors
> up.
>
> Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>
> ---
>  libmultipath/print.c       |  7 +++++++
>  libmultipath/structs.h     |  1 +
>  libmultipath/structs_vec.c | 28 ++++++++++++++++------------
>  multipathd/cli_handlers.c  | 11 ++++++++++-
>  multipathd/main.c          |  2 ++
>  5 files changed, 36 insertions(+), 13 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare at suse.com>

Cheers,

Hannes
-- 
Dr. Hannes Reinecke		      zSeries & Storage
hare at suse.de			      +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)




More information about the dm-devel mailing list