Skip to content

multipath cleanups

Benjamin Marzinski dm-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 3 repliesIn review
  2. v16 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- patch 0003 no longer refactors count_active_paths(), as suggested by Martin Wilck
- Added patches 0007 & 0008, which are both unrelated minor changes.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Makefile.inc: trim extra information from systemd versionMakefile.inc+1 -10 replies
2/8kpartx: fix -Wsign-compare errorkpartx/kpartx.c+1 -10 replies
3/8libmultipath: refactor path countinglibmpathpersist/mpath_persist.c libmultipath/structs.c libmultipath/structs.h+19 -170 replies
4/8libmultipath: count pending paths as active on loadslibmultipath/devmapper.c libmultipath/structs.c libmultipath/structs.h+10 -10 replies
5/8libmultipath: deal with flushing no mapslibmultipath/devmapper.c+1 -10 replies
6/8multipath: deal with delegation failures correctlymultipath/main.c+6 -30 replies
7/8multipathd: unset mpp->hwe when removing maplibmultipath/structs_vec.c multipathd/main.c+2 -02 replies
8/8multipathd: log reason for calling domap()multipathd/main.c+9 -40 replies

Reviews trailers per patch

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

PatchMartin Wilck
SeriesR-b
1/8R-b
2/8R-b
3/8
4/8R-b
5/8R-b
6/8R-b
7/8
8/8

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

Read the v2 thread

Cover letter [PATCH v2 0/8] multipath cleanups

Patches 0003 & 0004 fix an issue that I've seen with paths whose checker takes too long when multipathd is starting up and creating devices.

The others are minor build fixes or small cleanups to my previous patchset.

Changes in v2:
- patch 0003 no longer refactors count_active_paths(), as suggested by Martin Wilck
- Added patches 0007 & 0008, which are both unrelated minor changes.

Benjamin Marzinski (8):
Makefile.inc: trim extra information from systemd version
kpartx: fix -Wsign-compare error
libmultipath: refactor path counting
libmultipath: count pending paths as active on loads
libmultipath: deal with flushing no maps
multipath: deal with delegation failures correctly
multipathd: unset mpp->hwe when removing map
multipathd: log reason for calling domap()

 Makefile.inc                    |  2 +-
 kpartx/kpartx.c                 |  2 +-
 libmpathpersist/mpath_persist.c |  4 ++--
 libmultipath/devmapper.c        |  5 +++--
 libmultipath/structs.c          | 38 +++++++++++++++++++++------------
 libmultipath/structs.h          |  2 +-
 libmultipath/structs_vec.c      |  1 +
 multipath/main.c                |  9 +++++---
 multipathd/main.c               | 14 ++++++++----
 9 files changed, 49 insertions(+), 28 deletions(-)
Signature · 1 line
2.17.2