Skip to content

libmultipath: use bitwise flags in devmapper API

Martin Wilck dm-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3libmultipath: use bitwise flags for map flushing APIlibmultipath/devmapper.c libmultipath/devmapper.h+43 -470 replies
2/3libmultipath: use bitwise flags for dm_simplecmd APIlibmultipath/devmapper.c libmultipath/devmapper.h+16 -150 replies
3/3libmultipath: add argument names to some prototypeslibmultipath/devmapper.h+5 -50 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBenjamin Marzinski
SeriesR-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] libmultipath: use bitwise flags in devmapper API

This series goes on top of Benjamin Marzinksi's late "multipath: fix hang in flush_map_nopaths" series. It introduces no functional changes. It just combines the multiple boolean arguments to _dm_flush_map() and dm_simplecmd() into a flags variable. This reduces the number of function arguments, but that's not the main intention. The symbolic flags improve the readability of the code by making it obvious which flags are passed to the respective functions in their callers.

Martin Wilck (3):
libmultipath: use bitwise flags for map flushing API
libmultipath: use bitwise flags for dm_simplecmd API
libmultipath: add argument names to some prototypes

 libmultipath/devmapper.c | 94 ++++++++++++++++++----------------------
 libmultipath/devmapper.h | 33 +++++++++-----
 2 files changed, 62 insertions(+), 65 deletions(-)
Signature · 1 line
2.44.0