From: Ming Lei <ming.lei@redhat.com>
To: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>,
linux-block@vger.kernel.org, linux-mmc@vger.kernel.org,
Jens Axboe <axboe@kernel.dk>
Subject: Re: SDHCI Regression with 6ce3dd6eec11 ("blk-mq: issue directly if hw queue isn't busy in case of 'none'")
Date: Wed, 22 Aug 2018 16:06:02 +0800 [thread overview]
Message-ID: <20180822080556.GA31467@ming.t460p> (raw)
In-Reply-To: <741127be-7d37-695c-15a9-47186959e639@linux.intel.com>
On Wed, Aug 22, 2018 at 09:06:40AM +0300, Jarkko Nikula wrote:
> On 08/21/2018 04:57 PM, Ming Lei wrote:
> > On Tue, Aug 21, 2018 at 04:45:41PM +0300, Jarkko Nikula wrote:
> > > On 08/21/2018 04:03 PM, Adrian Hunter wrote:
> > > > On 21/08/18 15:37, Jarkko Nikula wrote:
> > > > > Hi
> > > > >
> > > > > I bisected some kind of SDHCI regression to commit 6ce3dd6eec11 ("blk-mq:
> > > > > issue directly if hw queue isn't busy in case of 'none'") causing dumps
> > > > > below and one or more systemd-udevd processes being in uninterruptible sleep
> > > > > state preventing safe reboot/shutdown.
> > > > >
> > > > > This is from an Intel Baytrail based tablet with integrated eMMC but my
> > > > > up-to-date Debian/testing rootfs (with systemd) is on USB stick.
> > > > >
> > > > > It doesn't revert cleanly on today's head 778a33959a8a but issue is gone if
> > > > > I go to a commit before 6ce3dd6eec11 and occurs at 6ce3dd6eec11.
> > > >
> > > > This was discussed here:
> > > >
> > > > https://marc.info/?l=linux-block&m=153334717506073&w=2
> > > >
> > > > Coincidentally, I just sent the fix patch:
> > > >
> > > > https://marc.info/?l=linux-mmc&m=153485326025301&w=2
> > > >
> > > Cool, it fixed my regression. I tested both on top of 6ce3dd6eec11 and head
> > > 778a33959a8a. Maybe you would like to add into your patch another fixes tag
> > > and my tested by:
> > >
> > > Fixes: 6ce3dd6eec11 ("blk-mq: issue directly if hw queue isn't busy in case
> > > of 'none'")
> >
> > If you read the above links carefully, you'd see it is wrong to add the tag of
> > 'Fixes: 6ce3dd6eec11'.
> >
> Hmm... why? That commit 6ce3dd6eec11 was clearly regressing on my setup
> while Adrian's fix for 81196976ed94 that has been present since v4.16 fixes
> my finding too.
>
> I don't know well enough MMC and block layer but if commit 6ce3dd6eec11
> revealed an issue from MMC under my configuration I'd call it still a
> regression.
6ce3dd6eec11 just makes the original issue to happen easier, and the
root cause is that MMC's stack doesn't support concurrent dispatch for
SDHCI.
Thanks,
Ming
prev parent reply other threads:[~2018-08-22 8:06 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-21 12:37 SDHCI Regression with 6ce3dd6eec11 ("blk-mq: issue directly if hw queue isn't busy in case of 'none'") Jarkko Nikula
2018-08-21 13:03 ` Adrian Hunter
2018-08-21 13:45 ` Jarkko Nikula
2018-08-21 13:57 ` Ming Lei
2018-08-22 6:06 ` Jarkko Nikula
2018-08-22 8:06 ` Ming Lei [this message]
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=20180822080556.GA31467@ming.t460p \
--to=ming.lei@redhat.com \
--cc=adrian.hunter@intel.com \
--cc=axboe@kernel.dk \
--cc=jarkko.nikula@linux.intel.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).