Re: [PATCH v2 1/2] io_uring: introduce type alias for io_tw_state

From: Jens Axboe
Date: Mon Feb 17 2025 - 07:46:24 EST



On Sun, 16 Feb 2025 19:25:04 -0700, Caleb Sander Mateos wrote:
> In preparation for changing how io_tw_state is passed, introduce a type
> alias io_tw_token_t for struct io_tw_state *. This allows for changing
> the representation in one place, without having to update the many
> functions that just forward their struct io_tw_state * argument.
>
> Also add a comment to struct io_tw_state to explain its purpose.
>
> [...]

Applied, thanks!

[1/2] io_uring: introduce type alias for io_tw_state
commit: bcf8a0293a019bb0c4aebafdebe9a1e7a923249a
[2/2] io_uring: pass struct io_tw_state by value
commit: 94a4274bb6ebc5b4293559304d0f00928de0d8c0

Best regards,
--
Jens Axboe