From: "jianchao.wang" <jianchao.w.wang@oracle.com>
To: Ming Lei <ming.lei@redhat.com>
Cc: axboe@kernel.dk, linux-block@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] blk-mq: mark hctx RESTART when get budget fails
Date: Mon, 16 Apr 2018 16:34:43 +0800 [thread overview]
Message-ID: <11e10ccf-bdeb-4790-3bec-e3f49ab246c8@oracle.com> (raw)
In-Reply-To: <20180416081503.GB23664@ming.t460p>
Hi Ming
Thanks for your kindly response.
On 04/16/2018 04:15 PM, Ming Lei wrote:
>> - if (!blk_mq_get_dispatch_budget(hctx))
>> + if (!blk_mq_get_dispatch_budget(hctx)) {
>> + blk_mq_sched_mark_restart_hctx(hctx);
> The RESTART flag still may not take into effect if all requests are
> completed before calling blk_mq_sched_mark_restart_hctx().
>
Yes, this is indeed a very tricky scenario.
Sincerely
Jianchao
prev parent reply other threads:[~2018-04-16 8:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-16 7:55 [PATCH] blk-mq: mark hctx RESTART when get budget fails Jianchao Wang
2018-04-16 8:15 ` Ming Lei
2018-04-16 8:34 ` jianchao.wang [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=11e10ccf-bdeb-4790-3bec-e3f49ab246c8@oracle.com \
--to=jianchao.w.wang@oracle.com \
--cc=axboe@kernel.dk \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--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