From: Jens Axboe <axboe@kernel.dk>
To: bvanassche@acm.org, Zhiguo Niu <zhiguo.niu@unisoc.com>
Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org,
niuzhiguo84@gmail.com, hongyu.jin@unisoc.com,
yunlong.xing@unisoc.com
Subject: Re: [PATCH] block/mq-deadline: use correct way to throttling write requests
Date: Tue, 08 Aug 2023 15:46:50 -0600 [thread overview]
Message-ID: <169153121035.141127.745815954316396191.b4-ty@kernel.dk> (raw)
In-Reply-To: <1691061162-22898-1-git-send-email-zhiguo.niu@unisoc.com>
On Thu, 03 Aug 2023 19:12:42 +0800, Zhiguo Niu wrote:
> The original formula was inaccurate:
> dd->async_depth = max(1UL, 3 * q->nr_requests / 4);
>
> For write requests, when we assign a tags from sched_tags,
> data->shallow_depth will be passed to sbitmap_find_bit,
> see the following code:
>
> [...]
Applied, thanks!
[1/1] block/mq-deadline: use correct way to throttling write requests
commit: d47f9717e5cfd0dd8c0ba2ecfa47c38d140f1bb6
Best regards,
--
Jens Axboe
prev parent reply other threads:[~2023-08-08 21:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-03 11:12 Zhiguo Niu
2023-08-03 17:01 ` Bart Van Assche
2023-08-08 21:46 ` Jens Axboe [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=169153121035.141127.745815954316396191.b4-ty@kernel.dk \
--to=axboe@kernel.dk \
--cc=bvanassche@acm.org \
--cc=hongyu.jin@unisoc.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=niuzhiguo84@gmail.com \
--cc=yunlong.xing@unisoc.com \
--cc=zhiguo.niu@unisoc.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
all inboxes | Powered by JetHome®