mbox series

[for-next,0/9] mix of 6.1 net patches

Message ID cover.1663668091.git.asml.silence@gmail.com (mailing list archive)
Headers show
Series mix of 6.1 net patches | expand

Message

Pavel Begunkov Sept. 21, 2022, 11:17 a.m. UTC
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(-)

Comments

Jens Axboe Sept. 21, 2022, 4:37 p.m. UTC | #1
On Wed, 21 Sep 2022 12:17:45 +0100, Pavel Begunkov wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/9] io_uring: add custom opcode hooks on fail
      commit: 18b24300d6d3223192e69216d76ea273fa4b4f25
[2/9] io_uring/rw: don't lose partial IO result on fail
      commit: 7f4149434dbd8a9c356a959263b9e327bc5ed65b
[3/9] io_uring/net: don't lose partial send/recv on fail
      commit: 9a837772f2745351610e3554e193caf82e315bb3
[4/9] io_uring/net: don't lose partial send_zc on fail
      commit: 98e7a0e1c8102354ab28b46be737258739f7c92c
[5/9] io_uring/net: refactor io_setup_async_addr
      commit: 9f60a56760986bf3f2be3f906d2cd65215d0c065
[6/9] io_uring/net: support non-zerocopy sendto
      commit: ce6a8fdbb23f05cb3f6ddc6d0d76274eadf56a10
[7/9] io_uring/net: rename io_sendzc()
      commit: a7093eb542f723cc8f8e9d122d0aa82061f59ab4
[8/9] io_uring/net: combine fail handlers
      commit: 8cf8464184f4141294a9e86820b74a49e18a2436
[9/9] io_uring/net: zerocopy sendmsg
      commit: 2ec37c3b63d326147d7b70913b17c4ea3295c47b

Best regards,