Skip to content

recv/rw select-buffer fortifying

Pavel Begunkov io-uring 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7io_uring: indent left {send,recv}[msg]()fs/io_uring.c+130 -1330 replies
2/7io_uring: remove extra checks in send/recvfs/io_uring.c+5 -50 replies
3/7io_uring: don't forget cflags in io_recv()fs/io_uring.c+4 -60 replies
4/7io_uring: free selected-bufs if error'edfs/io_uring.c+44 -410 replies
5/7io_uring: move BUFFER_SELECT check into *recv[msg]fs/io_uring.c+10 -120 replies
6/7io_uring: extract io_put_kbuf() helperfs/io_uring.c+12 -70 replies
7/7io_uring: don't open-code recv kbuf managmentfs/io_uring.c+14 -140 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 5.9 0/7] recv/rw select-buffer fortifying

This series makes selected buffer managment more resilient to errors, especially io_recv[msg](). Even though, it makes some small accidential optimisations, I don't think performance difference will be observable at the end.

Pavel Begunkov (7):
io_uring: indent left {send,recv}[msg]()
io_uring: remove extra checks in send/recv
io_uring: don't forget cflags in io_recv()
io_uring: free selected-bufs if error'ed
io_uring: move BUFFER_SELECT check into *recv[msg]
io_uring: extract io_put_kbuf() helper
io_uring: don't open-code recv kbuf managment

 fs/io_uring.c | 363 +++++++++++++++++++++++++-------------------------
 1 file changed, 182 insertions(+), 181 deletions(-)
Signature · 1 line
2.24.0