From: Martin Wilck <mwilck@suse.com>
To: Benjamin Marzinski <bmarzins@redhat.com>,
Christophe Varoqui <christophe.varoqui@opensvc.com>
Cc: device-mapper development <dm-devel@redhat.com>
Subject: Re: [PATCH v2 00/17] Multipath patch dump
Date: Tue, 11 Feb 2020 09:45:34 +0100 [thread overview]
Message-ID: <f031e9fa9fdc4be08ee76a2d65ea2c99f8cf0fb3.camel@suse.com> (raw)
In-Reply-To: <1580929100-32572-1-git-send-email-bmarzins@redhat.com>
Hi Christophe,
On Wed, 2020-02-05 at 12:58 -0600, Benjamin Marzinski wrote:
> This patch set is has multiple parts.
>
> patch 01 is just a resubmit of my previous patch, with Martin's
> corrections added.
>
> Patches 02 - 07 are miscellaneous fixes and cleanups
>
> Patches 08 - 10 are related to adding a new format wildcard, at the
> request of HPE, that allows multipath to get and display
> information from the vendor specific VPD pages
>
> Patches 11 - 17 are the part that needs the most review, patch 14
> especially. It turns out that on machines with a large number
> of cores, io_destroy(), which is used by the directio checker,
> can take a long time to complete. Talking to some kernel people
> at Red Hat, I was told that this isn't a bug. It's working as
> expected, and multipath shouldn't be issuing so many
> io_destroy() calls (1 per path, when multipath or multipathd
> stops). Cutting out the io_destroy calls involved a major
> change
> to the directio checker. It's pretty hard to test a lot of the
> corner cases on actual hardware, so I've written a bunch of
> unit tests for this (patches 16 & 17).
>
> Changes is v2:
> 0001-multipathd-warn-when-configuration-has-been-changed.patch
> Minor changes, including using a structure instead of an
> array to hold the watch descriptors, as suggested by Martin
> Wilck.
>
> 0002-multipathd-staticify-uxlsnr-variables-functions.patch
> New patch
>
> 0008-libmultipath-fix-sgio_get_vpd-looping.patch
> Test has been changed to keep create_vpd83 the same, and
> overwrite the length in the actual test, as suggested by
> Martin Wilck
>
> 0010-libmultipath-add-code-to-get-vendor-specific-vpd-dat.patch
> The information to find the vpd page and how to decode it is
> now simply the index in a table of name -> page_nr mappings
>
> 0012-libmultipath-change-failed-path-prio-timeout.patch
> The timeout argument has been renamed to avoid confusion,
> as suggested by Martin Wilck
>
> 0015-libmultipath-make-directio-checker-share-io-contexts.patch
> Minor changes to print more useful messages, and avoid
> printing anything when we get a non-zero io_cancel()
> result, as suggested by Martin Wilck
>
> 0016-tests-add-directio-unit-tests.patch
> Minor change to improve readability, as suggested by
> Martin Wilck
>
> 0017-tests-make-directio-tests-able-to-work-on-a-real-dev.patch
> New patch. This adds the ability to set a testing device, so
> you can run the directio tests on an actual device
>
> Benjamin Marzinski (17):
> multipathd: warn when configuration has been changed.
> multipathd: staticify uxlsnr variables/functions
> libmultipath: fix leak in foreign code
> Fix leak in mpathpersist
> libmultipath: remove unused path->prio_args
> libmultipath: constify get_unaligned_be*
> libmultipath: add missing hwe mpe variable merges
> libmultipath: fix sgio_get_vpd looping
> libmultipath: add vend_id to get_vpd_sgio
> libmultipath: add code to get vendor specific vpd data
> libmultipath: change how the checker async is set
> libmultipath: change failed path prio timeout
> multipathd: add new paths under vecs lock
> libmultipath: add new checker class functions
> libmultipath: make directio checker share io contexts
> tests: add directio unit tests
> tests: make directio tests able to work on a real device
>
> libmpathpersist/mpath_persist.c | 2 +-
> libmultipath/checkers.c | 29 +-
> libmultipath/checkers.h | 1 +
> libmultipath/checkers/directio.c | 336 ++++++++++---
> libmultipath/config.c | 10 +
> libmultipath/config.h | 2 +
> libmultipath/dict.c | 38 ++
> libmultipath/discovery.c | 80 ++-
> libmultipath/discovery.h | 2 +-
> libmultipath/foreign.c | 11 +-
> libmultipath/hwtable.c | 1 +
> libmultipath/print.c | 25 +
> libmultipath/prio.c | 6 +-
> libmultipath/propsel.c | 20 +-
> libmultipath/propsel.h | 1 +
> libmultipath/structs.h | 16 +-
> libmultipath/unaligned.h | 4 +-
> mpathpersist/main.c | 1 +
> multipath/main.c | 1 +
> multipath/multipath.conf.5 | 15 +-
> multipathd/main.c | 18 +-
> multipathd/uxlsnr.c | 150 +++++-
> tests/Makefile | 19 +-
> tests/directio.c | 812
> +++++++++++++++++++++++++++++++
> tests/directio_test_dev | 4 +
> tests/vpd.c | 87 ++--
> 26 files changed, 1534 insertions(+), 157 deletions(-)
> create mode 100644 tests/directio.c
> create mode 100644 tests/directio_test_dev
>
ACK for the series: Martin Wilck <mwilck@suse.com>
Ben and I agreed that he'll follow up with some minor fixes, but
there's no reason to hold this back.
next prev parent reply other threads:[~2020-02-11 8:45 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-05 18:58 [PATCH v2 00/17] Multipath patch dump Benjamin Marzinski
2020-02-05 18:58 ` [PATCH v2 01/17] multipathd: warn when configuration has been changed Benjamin Marzinski
2020-02-10 14:22 ` Martin Wilck
2020-02-05 18:58 ` [PATCH v2 02/17] multipathd: staticify uxlsnr variables/functions Benjamin Marzinski
2020-02-10 14:24 ` Martin Wilck
2020-02-05 18:58 ` [PATCH v2 03/17] libmultipath: fix leak in foreign code Benjamin Marzinski
2020-02-11 9:36 ` Martin Wilck
2020-02-11 22:47 ` Benjamin Marzinski
2020-02-05 18:58 ` [PATCH v2 04/17] Fix leak in mpathpersist Benjamin Marzinski
2020-02-05 18:58 ` [PATCH v2 05/17] libmultipath: remove unused path->prio_args Benjamin Marzinski
2020-02-05 18:58 ` [PATCH v2 06/17] libmultipath: constify get_unaligned_be* Benjamin Marzinski
2020-02-05 18:58 ` [PATCH v2 07/17] libmultipath: add missing hwe mpe variable merges Benjamin Marzinski
2020-02-05 18:58 ` [PATCH v2 08/17] libmultipath: fix sgio_get_vpd looping Benjamin Marzinski
2020-02-10 14:35 ` Martin Wilck
2020-02-05 18:58 ` [PATCH v2 09/17] libmultipath: add vend_id to get_vpd_sgio Benjamin Marzinski
2020-02-05 18:58 ` [PATCH v2 10/17] libmultipath: add code to get vendor specific vpd data Benjamin Marzinski
2020-02-10 14:49 ` Martin Wilck
2020-02-10 20:49 ` Benjamin Marzinski
2020-02-11 8:09 ` Martin Wilck
2020-02-11 8:39 ` Martin Wilck
2020-02-05 18:58 ` [PATCH v2 11/17] libmultipath: change how the checker async is set Benjamin Marzinski
2020-02-05 18:58 ` [PATCH v2 12/17] libmultipath: change failed path prio timeout Benjamin Marzinski
2020-02-10 14:51 ` Martin Wilck
2020-02-05 18:58 ` [PATCH v2 13/17] multipathd: add new paths under vecs lock Benjamin Marzinski
2020-02-05 18:58 ` [PATCH v2 14/17] libmultipath: add new checker class functions Benjamin Marzinski
2020-02-05 18:58 ` [PATCH v2 15/17] libmultipath: make directio checker share io contexts Benjamin Marzinski
2020-02-10 17:08 ` Martin Wilck
2020-02-10 23:15 ` Benjamin Marzinski
2020-02-11 8:38 ` Martin Wilck
2020-02-11 22:21 ` Benjamin Marzinski
2020-02-11 8:42 ` Martin Wilck
2020-02-05 18:58 ` [PATCH v2 16/17] tests: add directio unit tests Benjamin Marzinski
2020-02-10 17:23 ` Martin Wilck
2020-02-05 18:58 ` [PATCH v2 17/17] tests: make directio tests able to work on a real device Benjamin Marzinski
2020-02-10 17:27 ` Martin Wilck
2020-02-11 8:45 ` Martin Wilck [this message]
2020-02-11 10:18 ` [PATCH v2 00/17] Multipath patch dump Martin Wilck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f031e9fa9fdc4be08ee76a2d65ea2c99f8cf0fb3.camel@suse.com \
--to=mwilck@suse.com \
--cc=bmarzins@redhat.com \
--cc=christophe.varoqui@opensvc.com \
--cc=dm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.