Re: [PATCH v7 00/11] io_uring: Initial support for {s,g}etsockopt commands
From: Jens Axboe
Date: Thu Oct 19 2023 - 10:59:09 EST
On 10/16/23 7:47 AM, Breno Leitao wrote:
> This patchset adds support for getsockopt (SOCKET_URING_OP_GETSOCKOPT)
> and setsockopt (SOCKET_URING_OP_SETSOCKOPT) in io_uring commands.
> SOCKET_URING_OP_SETSOCKOPT implements generic case, covering all levels
> and optnames. SOCKET_URING_OP_GETSOCKOPT is limited, for now, to
> SOL_SOCKET level, which seems to be the most common level parameter for
> get/setsockopt(2).
>
> In order to keep the implementation (and tests) simple, some refactors
> were done prior to the changes, as follows:
Looks like folks are mostly happy with this now, so the next question is
how to stage it?
--
Jens Axboe