[bug report] WARNING: CPU: 3 PID: 522 at block/genhd.c:144 bdev_count_inflight_rw+0x26e/0x410

Jens Axboe axboe at kernel.dk
Mon Jun 9 07:22:35 PDT 2025


On 6/9/25 3:14 AM, Breno Leitao wrote:
> On Fri, Jun 06, 2025 at 11:31:06AM +0800, Yi Zhang wrote:
>> Hello
>>
>> The following WARNING was triggered by blktests nvme/fc nvme/012,
>> please help check and let me know if you need any info/test, thanks.
>>
>> commit: linux-block: 38f4878b9463 (HEAD, origin/for-next) Merge branch
>> 'block-6.16' into for-next
> 
> I am seeing a similar issue on Linus' recent tree as e271ed52b344
> ("Merge tag 'pm-6.16-rc1-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm").
> CCing Jens.
> 
> This is my stack, in case it is useful.

What does your storage setup look like? Likely not a new issue, only
change is that we now report/warn if these counters ever hit < 0. Adding
Yu to the CC as he recently worked in this area, and added the patch
that triggers the warning now.


-- 
Jens Axboe



More information about the Linux-nvme mailing list