Skip to content

io_uring: add support for connect()

Jens Axboe io-uring netdev 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: add __sys_connect_file() helperinclude/linux/socket.h net/socket.c+25 -80 replies
2/2io_uring: add support for IORING_OP_CONNECTfs/io_uring.c include/uapi/linux/io_uring.h+38 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCHSET 0/2] io_uring: add support for connect()

Pretty trivially done, now that we support file table inheritance. This is done in a similar fashion to the accept4() support, by adding a __sys_connect_file() helper and using that from io_uring.

 fs/io_uring.c                 | 37 +++++++++++++++++++++++++++++++++++
 include/linux/socket.h        |  3 +++
 include/uapi/linux/io_uring.h |  1 +
 net/socket.c                  | 30 ++++++++++++++++++++--------
 4 files changed, 63 insertions(+), 8 deletions(-)
Signature · 1 line
Jens Axboe