Skip to content

Drop nr_active, and some more fixes

Martin Wilck dm-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/23 of 5 patches 1 replyIn review
  2. v2 posting 1/21 of 5 patches 0 repliesSuperseded

Changes in v2 from the cover letter

* Added Reviewed-by's from Ben where appropriate
* 03/05: don't check current state when calling set_no_path_retry() from cli_handler code (Ben)

3 of 5 patches are in this archive. The cover letter announces 5.

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5multipathd: move set_no_path_retry() back to libmultipathlibmultipath/structs_vec.c libmultipath/structs_vec.h multipathd/main.c+31 -300 replies
3/5libmultipath: drop mpp->nr_active fieldlibmultipath/configure.c libmultipath/devmapper.c libmultipath/io_err_stat.c +7 more+110 -741 reply
5/5libmultipath: fix ALUA autodetection when paths are downlibmultipath/discovery.c libmultipath/propsel.c+38 -40 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchBenjamin Marzinski
1/5R-b
3/5R-b
5/5R-b

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 RESEND 0/5] Drop nr_active, and some more fixes

From: Martin Wilck <[email protected]>

(Resending this, as it didn't make it to the ML last time).

This series applies on top of my late "multipath-tools: cleanup and warning enablement" series.

Patch 3/5 is a rework of my RFC patch with the same subject submitted on Nov. 13th, trying to accomodate Ben's suggestions. Patch 1 and 2 are trivial refactorings to prepare for it. Patch 4 and 5 are fixes for bugs that I encountered when testing patch 3.

As usual, reviews and comments are welcome.

Changes v1 -> v2:

* Added Reviewed-by's from Ben where appropriate
* 03/05: don't check current state when calling set_no_path_retry() from cli_handler code (Ben)

Martin Wilck (5):
multipathd: move set_no_path_retry() back to libmultipath
libmultipath: dict.c: rename duplicate set_no_path_retry()
libmultipath: drop mpp->nr_active field
libmultipath: fix (max_)polling_interval setting logic
libmultipath: fix ALUA autodetection when paths are down

 libmultipath/config.c      | 40 +++++++++++++++--
 libmultipath/config.h      |  1 +
 libmultipath/configure.c   |  5 +--
 libmultipath/defaults.h    |  3 +-
 libmultipath/devmapper.c   |  2 +-
 libmultipath/dict.c        | 10 ++---
 libmultipath/discovery.c   | 22 +++++++++-
 libmultipath/io_err_stat.c |  4 +-
 libmultipath/print.c       |  5 ++-
 libmultipath/propsel.c     | 20 +++++++--
 libmultipath/structs.c     | 19 ++++++++
 libmultipath/structs.h     |  4 +-
 libmultipath/structs_vec.c | 89 +++++++++++++++++++++++++++++++-------
 libmultipath/structs_vec.h |  3 +-
 multipathd/cli_handlers.c  | 41 ++++++++----------
 multipathd/main.c          | 75 +++++---------------------------
 16 files changed, 217 insertions(+), 126 deletions(-)
Signature · 1 line
2.24.0