Skip to content

Various multipath-tools patches

Bart Van Assche dm-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6multipathd/main.c: Fix indentationmultipathd/main.c+2 -21 reply
2/6libmultipath, alloc_path_with_pathinfo(): Ensure that pp->wwid is '\0'-terminatedlibmultipath/discovery.c+2 -21 reply
3/6libmultipath, alloc_path_with_pathinfo(): Declare third argument constlibmultipath/discovery.c libmultipath/discovery.h+2 -22 replies
4/6kpartx: Improve reliability of find_loop_by_file()kpartx/lopart.c+4 -31 reply
5/6libmultipath: Fix sgio_get_vpd()libmultipath/discovery.c+5 -48 replies
6/6Introduce the ibmultipath/unaligned.h header filelibmpathpersist/mpath_pr_ioctl.c libmultipath/checkers/hp_sw.c libmultipath/discovery.c +4 more+60 -511 reply

Reviews trailers per patch

4 of 6 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMartin WilckBenjamin Marzinski
SeriesR-b
1/6R-b
2/6R-b
3/6
4/6R-b
5/6
6/6R-b

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/6] Various multipath-tools patches

Hello Christophe,

This series contains the following patches:
- Four patches address Coverity complaints.
- One patch makes a function argument const.
- One patch addresses a bug that I discovered while inspecting the multipath command line tool output.

Please consider these patches for the multipath-tools project.

Thanks,

Bart.

Bart Van Assche (6):
multipathd/main.c: Fix indentation
libmultipath, alloc_path_with_pathinfo(): Ensure that pp->wwid is

    '\0'-terminated

libmultipath, alloc_path_with_pathinfo(): Declare third argument const
kpartx: Improve reliability of find_loop_by_file()
libmultipath: Fix sgio_get_vpd()
Introduce the ibmultipath/unaligned.h header file

 kpartx/lopart.c                       |  7 ++++---
 libmpathpersist/mpath_pr_ioctl.c      |  8 ++++----
 libmultipath/checkers/hp_sw.c         |  4 ++--
 libmultipath/discovery.c              | 22 +++++++++++---------
 libmultipath/discovery.h              |  2 +-
 libmultipath/prioritizers/alua_rtpg.c | 13 ++++++------
 libmultipath/prioritizers/alua_spc3.h | 35 ++------------------------------
 libmultipath/prioritizers/ontap.c     |  4 ++--
 libmultipath/unaligned.h              | 38 +++++++++++++++++++++++++++++++++++
 multipathd/main.c                     |  4 ++--
 10 files changed, 74 insertions(+), 63 deletions(-)
 create mode 100644 libmultipath/unaligned.h
Signature · 1 line
2.16.2