From: Jens Axboe <axboe@kernel.dk>
To: io-uring@vger.kernel.org, Pavel Begunkov <asml.silence@gmail.com>
Subject: Re: [PATCH 1/1] io_uring/cmd: warn on reg buf imports by ineligible cmds
Date: Fri, 23 May 2025 06:32:48 -0600 [thread overview]
Message-ID: <174800356862.1255350.9517115478564537743.b4-ty@kernel.dk> (raw)
In-Reply-To: <a1c2c88e53c3fe96978f23d50c6bc66c2c79c337.1747991070.git.asml.silence@gmail.com>
On Fri, 23 May 2025 10:04:46 +0100, Pavel Begunkov wrote:
> For IORING_URING_CMD_FIXED-less commands io_uring doesn't pull buf_index
> from the sqe, so imports might succeed if the index coincide, e.g. when
> it's 0, but otherwise it's error prone. Warn if someone tries to import
> without the flag.
>
>
Applied, thanks!
[1/1] io_uring/cmd: warn on reg buf imports by ineligible cmds
commit: 6faaf6e0faf1cc9a1359cfe6ecb4d9711b4a9f29
Best regards,
--
Jens Axboe
prev parent reply other threads:[~2025-05-23 12:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-23 9:04 [PATCH 1/1] io_uring/cmd: warn on reg buf imports by ineligible cmds Pavel Begunkov
2025-05-23 10:34 ` Anuj gupta
2025-05-23 12:32 ` 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=174800356862.1255350.9517115478564537743.b4-ty@kernel.dk \
--to=axboe@kernel.dk \
--cc=asml.silence@gmail.com \
--cc=io-uring@vger.kernel.org \
/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