[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <175094493620.208798.522979576401700817.b4-ty@kernel.dk>
Date: Thu, 26 Jun 2025 07:35:36 -0600
From: Jens Axboe <axboe@...nel.dk>
To: hare@...e.de, hch@...radead.org, john.g.garry@...cle.com,
Yu Kuai <yukuai3@...wei.com>
Cc: linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
yi.zhang@...hat.com, calvin@...nvd.org, david@...morbit.com,
yukuai1@...weicloud.com, yi.zhang@...wei.com, yangerkun@...wei.com,
johnny.chenyi@...wei.com
Subject: Re: [PATCH v2] block: fix false warning in
bdev_count_inflight_rw()
On Thu, 26 Jun 2025 19:57:43 +0800, Yu Kuai wrote:
> While bdev_count_inflight is interating all cpus, if some IOs are issued
> from traversed cpu and then completed from the cpu that is not traversed
> yet:
>
> cpu0
> cpu1
> bdev_count_inflight
> //for_each_possible_cpu
> // cpu0 is 0
> infliht += 0
> // issue a io
> blk_account_io_start
> // cpu0 inflight ++
>
> [...]
Applied, thanks!
[1/1] block: fix false warning in bdev_count_inflight_rw()
commit: c007062188d8e402c294117db53a24b2bed2b83f
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists