From: Bart Van Assche <Bart.VanAssche@wdc.com>
To: "ming.lei@redhat.com" <ming.lei@redhat.com>
Cc: "jthumshirn@suse.de" <jthumshirn@suse.de>,
"linux-block@vger.kernel.org" <linux-block@vger.kernel.org>,
"hch@lst.de" <hch@lst.de>,
"martin.petersen@oracle.com" <martin.petersen@oracle.com>,
"axboe@kernel.dk" <axboe@kernel.dk>,
"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
"hare@suse.com" <hare@suse.com>,
"jejb@linux.vnet.ibm.com" <jejb@linux.vnet.ibm.com>
Subject: Re: [PATCH] blk-mq: Fix several SCSI request queue lockups
Date: Mon, 4 Dec 2017 22:48:18 +0000 [thread overview]
Message-ID: <1512427697.2795.14.camel@wdc.com> (raw)
In-Reply-To: <20171204224200.GA6888@ming.t460p>
On Tue, 2017-12-05 at 06:42 +0800, Ming Lei wrote:
> On Mon, Dec 04, 2017 at 09:30:32AM -0800, Bart Van Assche wrote:
> > * A systematic lockup for SCSI queues with queue depth 1. The
> > following test reproduces that bug systematically:
> > - Change the SRP initiator such that SCSI target queue depth is
> > limited to 1.
> > - Run the following command:
> > srp-test/run_tests -f xfs -d -e none -r 60 -t 01
> > See also "[PATCH 4/7] blk-mq: Avoid that request processing
> > stalls when sharing tags"
> > (https://marc.info/?l=linux-block&m=151208695316857). Note:
> > reverting commit 0df21c86bdbf also fixes a sporadic SCSI request
> > queue lockup while inserting a blk_mq_sched_mark_restart_hctx()
> > before all blk_mq_dispatch_rq_list() calls only fixes the
> > systematic lockup for queue depth 1.
>
> You are the only reproducer [ ... ]
That's not correct. I'm pretty sure if you try to reproduce this that
you will see the same hang I ran into. Does this mean that you have not
yet tried to reproduce the hang I reported?
> You said that your patch fixes 'commit b347689ffbca ("blk-mq-sched:
> improve dispatching from sw queue")', but you don't mention any issue
> about that commit.
That's not correct either. From the commit message "A systematic lockup
for SCSI queues with queue depth 1."
> > I think the above means that it is too risky to try to fix all bugs
> > introduced by commit 0df21c86bdbf before kernel v4.15 is released.
> > Hence revert that commit.
>
> What is the risk?
That more bugs were introduced by commit 0df21c86bdbf than the ones that
have been discovered so far.
Bart.
next prev parent reply other threads:[~2017-12-04 22:48 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-04 17:30 [PATCH] blk-mq: Fix several SCSI request queue lockups Bart Van Assche
2017-12-04 22:42 ` Ming Lei
2017-12-04 22:48 ` Bart Van Assche [this message]
2017-12-04 23:01 ` Ming Lei
2017-12-04 23:32 ` Bart Van Assche
2017-12-05 0:20 ` Ming Lei
2017-12-05 0:29 ` Bart Van Assche
2017-12-05 1:04 ` Ming Lei
2017-12-05 1:13 ` Bart Van Assche
2017-12-05 1:18 ` Ming Lei
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=1512427697.2795.14.camel@wdc.com \
--to=bart.vanassche@wdc.com \
--cc=axboe@kernel.dk \
--cc=hare@suse.com \
--cc=hch@lst.de \
--cc=jejb@linux.vnet.ibm.com \
--cc=jthumshirn@suse.de \
--cc=linux-block@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=ming.lei@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox