From: Jens Axboe <axboe@kernel.dk>
To: Fiona Ebner <f.ebner@proxmox.com>, 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: Mon, 27 Apr 2026 11:18:58 -0600 [thread overview]
Message-ID: <81c9150f-1f19-417f-bdb8-ada97f0b8ea2@kernel.dk> (raw)
In-Reply-To: <20260427165910.683941-1-f.ebner@proxmox.com>
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.
--
Jens Axboe
next prev parent reply other threads:[~2026-04-27 17:19 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 [this message]
2026-04-28 9:54 ` Fiona Ebner
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=81c9150f-1f19-417f-bdb8-ada97f0b8ea2@kernel.dk \
--to=axboe@kernel.dk \
--cc=f.ebner@proxmox.com \
--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