Skip to content

Fix MSG_WAITALL for IORING_OP_RECV/RECVMSG

Jens Axboe io-uring stable 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v12 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- Only do it for SOCK_STREAM/SOCK_SEQPACKET

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2io_uring: ensure recv and recvmsg handle MSG_WAITALL correctlyfs/io_uring.c+28 -02 replies
2/2io_uring: add flag for disabling provided buffer recyclingfs/io_uring.c+8 -00 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCHSET v2 0/2] Fix MSG_WAITALL for IORING_OP_RECV/RECVMSG

Hi,

If we get a partial receive, we don't retry even if MSG_WAITALL is set. Ensure that we retry for the remainder in that case.

The ordering of patches may look a bit odd here, but it's done this way to make it easier to handle for the stable backport.

v2:
- Only do it for SOCK_STREAM/SOCK_SEQPACKET

Signature · 1 line
Jens Axboe