mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Karl Mehltretter <kmehltretter@gmail.com>
Cc: io-uring@vger.kernel.org, regressions@lists.linux.dev,
	linux-kernel@vger.kernel.org
Subject: Re: [REGRESSION] io_uring: requests can overtake consecutive drains
Date: Tue, 27 Oct 2026 06:56:03 -0600	[thread overview]
Message-ID: <5f575079-a2a1-4f42-ba1b-204730a5402e@kernel.dk> (raw)
In-Reply-To: <20261027043323.98916-1-kmehltretter@gmail.com>

On 10/26/26 10:33 PM, Karl Mehltretter wrote:
> Commit ecb6817b769f ("io_uring: end the drain when the drain request
> completes") lets a request submitted after one drain overtake a second
> drain that is still running. This breaks IOSQE_IO_DRAIN ordering for
> both standalone and linked drains.
> 
> An LLM helped with the review and reproducer.

Please have your LLM also make a patch that you can send out,
then you get credit for fixing it as well. Same goes for the
other one you sent out.

> No privilege, special device, SQPOLL, or unusual setup flag is required.

Puzzled why this is necessary to state.

-- 
Jens Axboe


      reply	other threads:[~2026-10-27 12:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-27  4:33 Karl Mehltretter
2026-10-27 12:56 ` Jens Axboe [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=5f575079-a2a1-4f42-ba1b-204730a5402e@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=io-uring@vger.kernel.org \
    --cc=kmehltretter@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=regressions@lists.linux.dev \
    /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

all inboxes | Powered by JetHome®