All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bart Van Assche <bart.vanassche@sandisk.com>
To: Mike Snitzer <snitzer@redhat.com>
Cc: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>,
	device-mapper development <dm-devel@redhat.com>
Subject: Re: v4.3-rc2 dm-mq bug
Date: Fri, 25 Sep 2015 08:34:47 -0700	[thread overview]
Message-ID: <56056997.2000001@sandisk.com> (raw)
In-Reply-To: <20150924230103.GA17394@redhat.com>

On 09/24/2015 04:01 PM, Mike Snitzer wrote:
> I'm not referring to the removal of a DM mpath device's underlying SRP
> paths.  The __dm_destroy() path is only used when destroying a DM
> device.  The only DM device used by multipath is the DM mpath device.
>
> So somehow your test is running the equivalent of:
>   dmsetup remove <toplevel_DM_mpath_device>
>
> While IO is being issued directly to that device.

Hello Mike,

One of the steps in my test is to remove all dm devices that have been 
created on top of SRP paths. The call trace at the start of this thread 
was triggered by the following command (unloading the SRP initiator is 
only possible after all holders of SRP paths have been removed):

for p in /sys/class/srp_remote_ports/*; do echo 1 >$p/delete & done; 
wait; dmsetup remove_all; modprobe -r ib_srp

The I/O was probably generated by multipathd itself (a path check).

Bart.

  reply	other threads:[~2015-09-25 15:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-24 19:09 v4.3-rc2 dm-mq bug Bart Van Assche
2015-09-24 21:18 ` Mike Snitzer
2015-09-24 21:27   ` Bart Van Assche
2015-09-24 23:01     ` Mike Snitzer
2015-09-25 15:34       ` Bart Van Assche [this message]
2015-09-25 18:49         ` Mike Snitzer
2015-09-25  0:37   ` Junichi Nomura
2015-09-25  2:13     ` Mike Snitzer
2015-09-25 15:37     ` Bart Van Assche
2015-09-30  0:42       ` Junichi Nomura
2015-09-30  2:54         ` Bart Van Assche

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=56056997.2000001@sandisk.com \
    --to=bart.vanassche@sandisk.com \
    --cc=dm-devel@redhat.com \
    --cc=j-nomura@ce.jp.nec.com \
    --cc=snitzer@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.