From: Jens Axboe <[email protected]>
To: Pavel Begunkov <[email protected]>,
Caleb Sander Mateos <[email protected]>
Cc: [email protected], [email protected]
Subject: Re: [PATCH] io_uring: pass ctx instead of req to io_init_req_drain()
Date: Wed, 12 Feb 2025 11:16:44 -0700 [thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
On Wed, 12 Feb 2025 09:48:05 -0700, Caleb Sander Mateos wrote:
> io_init_req_drain() takes a struct io_kiocb *req argument but only uses
> it to get struct io_ring_ctx *ctx. The caller already knows the ctx, so
> pass it instead.
>
> Drop "req" from the function name since it operates on the ctx rather
> than a specific req.
>
> [...]
Applied, thanks!
[1/1] io_uring: pass ctx instead of req to io_init_req_drain()
commit: 5fa0beffc75910a694a90ed0425bb13674b10256
Best regards,
--
Jens Axboe
prev parent reply other threads:[~2025-02-12 18:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-12 16:48 [PATCH] io_uring: pass ctx instead of req to io_init_req_drain() Caleb Sander Mateos
2025-02-12 18:16 ` 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=173938420478.36938.14753182485522583191.b4-ty@kernel.dk \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/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