All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel.org>
To: Zhe Liu <liuzhe1@kylinos.cn>
Cc: josef@toxicpanda.com, axboe@kernel.dk, cgroups@vger.kernel.org,
	linux-block@vger.kernel.org, linux-kernel@vger.kernel.org,
	stable@vger.kernel.org
Subject: Re: [PATCH] blk-iocost: account flush sequence latency only once
Date: Thu, 29 Oct 2026 07:13:59 -1000	[thread overview]
Message-ID: <1aa24cac216bd57faf861684ed93edc8@kernel.org> (raw)
In-Reply-To: <20261029092424.764545-1-liuzhe1@kylinos.cn>

On Thu, Oct 29, 2026 at 05:24:24PM +0800, Zhe Liu wrote:
> +	if (rq->rq_flags & RQF_FLUSH_SEQ)
> +		return;

Can you please wrap the test in unlikely()?

Acked-by: Tejun Heo <tj@kernel.org>

Thanks.

--
tejun

  reply	other threads:[~2026-10-29 17:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-29  9:24 [PATCH] blk-iocost: account flush sequence latency only once Zhe Liu
2026-10-29 17:13 ` Tejun Heo [this message]
2026-10-30  1:49 ` Tao Cui

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=1aa24cac216bd57faf861684ed93edc8@kernel.org \
    --to=tj@kernel.org \
    --cc=axboe@kernel.dk \
    --cc=cgroups@vger.kernel.org \
    --cc=josef@toxicpanda.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=liuzhe1@kylinos.cn \
    --cc=stable@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 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.