From: Fiona Ebner <f.ebner@proxmox.com>
To: Jens Axboe <axboe@kernel.dk>, io-uring@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, t.lamprecht@proxmox.com
Subject: Re: [PATCH] io_uring/wait: make check for pending io consider cached task references
Date: Tue, 28 Apr 2026 11:54:27 +0200 [thread overview]
Message-ID: <b4d2aa36-8301-4e58-be3e-1451267b8c43@proxmox.com> (raw)
In-Reply-To: <81c9150f-1f19-417f-bdb8-ada97f0b8ea2@kernel.dk>
Am 27.04.26 um 7:17 PM schrieb Jens Axboe:
> On 4/27/26 10:58 AM, Fiona Ebner wrote:
>> The io_uring task's inflight count also includes the reservations for
>> task references from io_task_refs_refill(), not just in-flight
>> requests. Thus, pending requests are present if the inflight count is
>> larger than the number of cached references.
>>
>> Co-developed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
>> Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
>> Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
>
> Looks go to me! Just needs:
>
> Cc: stable@vger.kernel.org
> Fixes: 7b72d661f1f2 ("io_uring: gate iowait schedule on having pending requests")
>
> tags added, I will do that. Thanks for debugging this and sending a fix.
>
Thank you!
prev parent reply other threads:[~2026-04-28 9:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-27 16:58 [PATCH] io_uring/wait: make check for pending io consider cached task references Fiona Ebner
2026-04-27 17:18 ` Jens Axboe
2026-04-28 9:54 ` Fiona Ebner [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=b4d2aa36-8301-4e58-be3e-1451267b8c43@proxmox.com \
--to=f.ebner@proxmox.com \
--cc=axboe@kernel.dk \
--cc=io-uring@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=t.lamprecht@proxmox.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