Re: [PATCH v2] block: fix false warning in bdev_count_inflight_rw()
From: Jens Axboe
Date: Thu Jun 26 2025 - 09:35:50 EST
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