All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Snitzer <snitzer@redhat.com>
To: Benjamin Marzinski <bmarzins@redhat.com>
Cc: Junichi Nomura <j-nomura@ce.jp.nec.com>,
	device-mapper development <dm-devel@redhat.com>
Subject: Re: [PATCH 0/2] dm: alternate solution to reloading with failed paths
Date: Mon, 15 Sep 2014 17:44:53 -0400	[thread overview]
Message-ID: <20140915214453.GB19349@redhat.com> (raw)
In-Reply-To: <1407956023-32372-1-git-send-email-bmarzins@redhat.com>

On Wed, Aug 13 2014 at  2:53pm -0400,
Benjamin Marzinski <bmarzins@redhat.com> wrote:

> This is different solution to the problem of multipath not being able to
> reload devices with failed paths than the one that Hannes first proposed.
> It adds a list of dm_devs to the mapped_device structure.  All of the table
> lists point to devices on this list. The list keeps track of how many tables
> are accessing these devices, and locks them to deal with tables being created
> and destroyed at the same time.  This avoids the issue of having tables that
> list devices for which the kernel is not holding any reference, and which
> can disappear and come back as a completely different device if userspace
> drops its reference.  This also allows these devices to be reinstated without
> another table reload.
> 
> The other patch deals with issues I discovered while tracking down why
> multipath devices with no valid paths would hang on table reload. It turns
> out that multipath_map can no longer be called after a table reload until
> queue_io is cleared, but multipath map was previously the function that
> usually cleared queue_io.

I've done a first pass review of the code changes and overlayed a
cleanup patch in this branch:
https://git.kernel.org/cgit/linux/kernel/git/device-mapper/linux-dm.git/log/?h=devel

I'll do another pass of review tomorrow and perform a full regression
test as well as a targetted test of loading various multipath tables
with no devices.

If all looks good I'll get it staged for 3.18.

  parent reply	other threads:[~2014-09-15 21:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-13 18:53 [PATCH 0/2] dm: alternate solution to reloading with failed paths Benjamin Marzinski
2014-08-13 18:53 ` [PATCH 1/2] dm-multipath: cleanup IO queueing after table load Benjamin Marzinski
2014-08-14  2:46   ` Mike Snitzer
2014-08-15 15:46     ` Benjamin Marzinski
2014-08-13 18:53 ` [PATCH 2/2] device-mapper: allow tables to share dm_devs Benjamin Marzinski
2014-09-15 21:44 ` Mike Snitzer [this message]
2014-09-16 16:46   ` [PATCH 0/2] dm: alternate solution to reloading with failed paths Benjamin Marzinski
2014-09-18 16:02 ` [PATCH v2 " Mike Snitzer
2014-09-18 16:02   ` [PATCH v2 1/2] dm mpath: stop queueing IO when no valid paths exist Mike Snitzer
2014-09-18 16:02   ` [PATCH v2 2/2] dm: allow active and inactive tables to share dm_devs Mike Snitzer
2014-09-18 18:48     ` Mike Snitzer
2014-09-18 18:50   ` [PATCH v2 0/2] dm: alternate solution to reloading with failed paths Mike Snitzer

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=20140915214453.GB19349@redhat.com \
    --to=snitzer@redhat.com \
    --cc=bmarzins@redhat.com \
    --cc=dm-devel@redhat.com \
    --cc=j-nomura@ce.jp.nec.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.