[dm-devel] [PATCH v2 RESEND 0/5] Drop nr_active, and some more fixes

Martin Wilck Martin.Wilck at suse.com
Wed Nov 27 15:05:46 UTC 2019


From: Martin Wilck <mwilck at suse.com>

(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(-)

-- 
2.24.0





More information about the dm-devel mailing list