All of lore.kernel.org
 help / color / mirror / Atom feed
From: mwilck@suse.com (Martin Wilck)
Subject: [PATCH 0/4] libmultipath: Fixes for NVME / NVMEoF
Date: Fri, 14 Jul 2017 13:32:05 +0200	[thread overview]
Message-ID: <20170714113209.17177-1-mwilck@suse.com> (raw)

Current code fails to set up multipath maps for NVME devices in a
Linux target/Linux host combination. This series enables at least
basic operation.

Patch 1/4 fixes a crash that happens if over-long WWIDs are encountered, and
is not specific to NVME as such. Patch 2/4 drops
the broken test uevent_can_discard_by_devpath(). Patch 3/4 compensates
for the additional event processing required by 2/4. Patch 4/4 mangles
overlong "nvme.*" WWIDs to make them usable for multipath (related discussion
in [1]; WWID_SIZE can't be simply increased because it has to match
device mapper's DM_NAME_LEN).

[1] http://lists.infradead.org/pipermail/linux-nvme/2017-July/011960.html

Martin Wilck (4):
  libmultipath: get_udev_uid: make sure pp->wwid is 0-terminated
  libmultipath: drop uevent_can_discard_by_devpath
  libmultipath: only listen for uevents with DEVTYPE=disk
  libmultipath: fix over-long NVME WWIDs

 libmultipath/discovery.c | 80 ++++++++++++++++++++++++++++++++++++++++++++++++
 libmultipath/uevent.c    | 27 +---------------
 2 files changed, 81 insertions(+), 26 deletions(-)

-- 
2.13.2

WARNING: multiple messages have this Message-ID (diff)
From: Martin Wilck <mwilck@suse.com>
To: Christophe Varoqui <christophe.varoqui@opensvc.com>,
	tang.junhui@zte.com.cn, Benjamin Marzinski <bmarzins@redhat.com>,
	Hannes Reinecke <hare@suse.de>,
	Guan Junxiong <guanjunxiong@huawei.com>
Cc: Martin Wilck <mwilck@suse.de>,
	dm-devel@redhat.com, Xose Vazquez Perez <xose.vazquez@gmail.com>,
	linux-nvme@lists.infradead.org
Subject: [PATCH 0/4] libmultipath: Fixes for NVME / NVMEoF
Date: Fri, 14 Jul 2017 13:32:05 +0200	[thread overview]
Message-ID: <20170714113209.17177-1-mwilck@suse.com> (raw)

Current code fails to set up multipath maps for NVME devices in a
Linux target/Linux host combination. This series enables at least
basic operation.

Patch 1/4 fixes a crash that happens if over-long WWIDs are encountered, and
is not specific to NVME as such. Patch 2/4 drops
the broken test uevent_can_discard_by_devpath(). Patch 3/4 compensates
for the additional event processing required by 2/4. Patch 4/4 mangles
overlong "nvme.*" WWIDs to make them usable for multipath (related discussion
in [1]; WWID_SIZE can't be simply increased because it has to match
device mapper's DM_NAME_LEN).

[1] http://lists.infradead.org/pipermail/linux-nvme/2017-July/011960.html

Martin Wilck (4):
  libmultipath: get_udev_uid: make sure pp->wwid is 0-terminated
  libmultipath: drop uevent_can_discard_by_devpath
  libmultipath: only listen for uevents with DEVTYPE=disk
  libmultipath: fix over-long NVME WWIDs

 libmultipath/discovery.c | 80 ++++++++++++++++++++++++++++++++++++++++++++++++
 libmultipath/uevent.c    | 27 +---------------
 2 files changed, 81 insertions(+), 26 deletions(-)

-- 
2.13.2

             reply	other threads:[~2017-07-14 11:32 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-14 11:32 Martin Wilck [this message]
2017-07-14 11:32 ` [PATCH 0/4] libmultipath: Fixes for NVME / NVMEoF Martin Wilck
2017-07-14 11:32 ` [PATCH 1/4] libmultipath: get_udev_uid: make sure pp->wwid is 0-terminated Martin Wilck
2017-07-14 11:32   ` Martin Wilck
2017-07-14 14:56   ` [dm-devel] " Bart Van Assche
2017-07-14 14:56     ` Bart Van Assche
2017-07-14 19:21     ` [dm-devel] " Martin Wilck
2017-07-14 19:21       ` Martin Wilck
2017-07-14 20:21       ` [dm-devel] " Bart Van Assche
2017-07-14 20:21         ` Bart Van Assche
2017-07-14 21:21         ` [dm-devel] " Martin Wilck
2017-07-14 21:21           ` Martin Wilck
2017-07-14 21:27           ` [dm-devel] " Bart Van Assche
2017-07-14 21:27             ` Bart Van Assche
2017-07-14 22:17   ` Benjamin Marzinski
2017-07-14 22:17     ` Benjamin Marzinski
2017-07-14 11:32 ` [PATCH 2/4] libmultipath: drop uevent_can_discard_by_devpath Martin Wilck
2017-07-14 11:32   ` Martin Wilck
2017-07-14 22:18   ` [dm-devel] " Schremmer, Steven
2017-07-14 22:18     ` Schremmer, Steven
2017-07-14 22:29   ` Benjamin Marzinski
2017-07-14 22:29     ` Benjamin Marzinski
2017-07-17  1:12   ` Guan Junxiong
2017-07-17  1:12     ` Guan Junxiong
2017-07-14 11:32 ` [PATCH 3/4] libmultipath: only listen for uevents with DEVTYPE=disk Martin Wilck
2017-07-14 11:32   ` Martin Wilck
2017-07-14 22:16   ` [dm-devel] " Schremmer, Steven
2017-07-14 22:16     ` Schremmer, Steven
2017-07-14 22:29   ` Benjamin Marzinski
2017-07-14 22:29     ` Benjamin Marzinski
2017-07-17  1:12   ` Guan Junxiong
2017-07-17  1:12     ` Guan Junxiong
2017-07-14 11:32 ` [PATCH 4/4] libmultipath: fix over-long NVME WWIDs Martin Wilck
2017-07-14 11:32   ` Martin Wilck
2017-07-14 22:38   ` Benjamin Marzinski
2017-07-14 22:38     ` Benjamin Marzinski
2017-07-17  1:13   ` Guan Junxiong
2017-07-17  1:13     ` Guan Junxiong

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=20170714113209.17177-1-mwilck@suse.com \
    --to=mwilck@suse.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.