Skip to content

Add support for IORING_RECVSEND_POLL_FIRST

Jens Axboe io-uring 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2io_uring: check IOPOLL/ioprio support upfrontfs/io_uring.c+52 -960 replies
2/2io_uring: add POLL_FIRST support for send/sendmsg and recv/recvmsgfs/io_uring.c include/uapi/linux/io_uring.h+35 -20 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchHao Xu
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCHSET 0/2] Add support for IORING_RECVSEND_POLL_FIRST

Hi,

I had a re-think on the flags2 addition [1] that was posted earlier today, and I don't really like the fact that flags2 then can't work with ioprio for read/write etc. We might also want to extend the ioprio field for other types of IO in the future.

So rather than do that, do a simpler approach and just add an io_uring specific flag set for send/recv and friends. This then allow setting IORING_RECVSEND_POLL_FIRST in sqe->addr2 for those, and if set, io_uring will arm poll first rather than attempt a send/recv operation.

[1] https://lore.kernel.org/io-uring/[email protected]/

Signature · 1 line
Jens Axboe