io_uring: Introduce IORING_OP_BIND
authorGabriel Krisman Bertazi <krisman@suse.de>
Fri, 14 Jun 2024 16:30:46 +0000 (12:30 -0400)
committerJens Axboe <axboe@kernel.dk>
Wed, 19 Jun 2024 13:57:21 +0000 (07:57 -0600)
commit7481fd93fa0a851740e26026485f56a1305454ce
treecbbf8cdfea0b94d6d85371bad17ab38ee2accad5
parentbb6aaf736680f0f3c2e6281735c47c64e2042819
io_uring: Introduce IORING_OP_BIND

IORING_OP_BIND provides the semantic of bind(2) via io_uring.  While
this is an essentially synchronous system call, the main point is to
enable a network path to execute fully with io_uring registered and
descriptorless files.

Signed-off-by: Gabriel Krisman Bertazi <krisman@suse.de>
Link: https://lore.kernel.org/r/20240614163047.31581-3-krisman@suse.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/uapi/linux/io_uring.h
io_uring/net.c
io_uring/net.h
io_uring/opdef.c