0-4 fix a rare scenario when a partial I/O is completed with an error code rather than the number of bytes processed, which is especially bad with sockets and other non-idempotent files. 5-9 add some net features, specifically 6/9 optionally transforms normal sends into sendto, and 9/9 adds zerocopy sendmsg. Pavel Begunkov (9): io_uring: add custom opcode hooks on fail io_uring/rw: don't lose partial IO result on fail io_uring/net: don't lose partial send/recv on fail io_uring/net: don't lose partial send_zc on fail io_uring/net: refactor io_setup_async_addr io_uring/net: support non-zerocopy sendto io_uring/net: rename io_sendzc() io_uring/net: combine fail handlers io_uring/net: zerocopy sendmsg include/uapi/linux/io_uring.h | 1 + io_uring/io_uring.c | 4 + io_uring/net.c | 176 +++++++++++++++++++++++++++++----- io_uring/net.h | 12 ++- io_uring/opdef.c | 41 +++++++- io_uring/opdef.h | 1 + io_uring/rw.c | 8 ++ io_uring/rw.h | 1 + 8 files changed, 214 insertions(+), 30 deletions(-) -- 2.37.2