From: Hannes Reinecke <hare@suse.de>
To: Alasdair Kergon <agk@redhat.com>,
Junichi Nomura <j-nomura@ce.jp.nec.com>,
Mike Snitzer <snitzer@redhat.com>,
dm-devel@redhat.com
Subject: Re: [PATCH] dm-mpath: requeue I/O during pg_init
Date: Tue, 05 Nov 2013 14:45:34 +0100 [thread overview]
Message-ID: <5278F67E.2040402@suse.de> (raw)
In-Reply-To: <20131105133158.GD27505@agk-dp.fab.redhat.com>
On 11/05/2013 02:31 PM, Alasdair G Kergon wrote:
> On Tue, Nov 05, 2013 at 02:10:55PM +0100, Hannes Reinecke wrote:
>> If this is just a left-over from the original port to request-based
>> (for bio-based we _have_ to queue internally as there's no request
>> queue to be had), fine, we should be removing it.
>
> I think that is the case.
>
>> But there _might_ be some corner cases which require us to do internal
>> queueing.
>
> We *only* add I/O to the internal queue in map_io() - which can always
> be replaced with REQUEUE, As long as we still 'wake up' the queue
> immediately when we are ready to receive the I/O, I can't think of any
> other reason. And it would let us remove quite a bit of tricky code!
>
Precisely what I was thinking.
I'll be cobbling together a patch.
Cheers,
Hannes
--
Dr. Hannes Reinecke zSeries & Storage
hare@suse.de +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)
next prev parent reply other threads:[~2013-11-05 13:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-01 9:49 [PATCH] dm-mpath: requeue I/O during pg_init Hannes Reinecke
2013-11-05 13:02 ` Alasdair G Kergon
2013-11-05 13:10 ` Hannes Reinecke
2013-11-05 13:31 ` Alasdair G Kergon
2013-11-05 13:45 ` Hannes Reinecke [this message]
2013-11-06 1:28 ` Junichi Nomura
2013-11-05 15:35 ` Alasdair G Kergon
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=5278F67E.2040402@suse.de \
--to=hare@suse.de \
--cc=agk@redhat.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.