Add support for IORING_RECVSEND_POLL_FIRST
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | io_uring: check IOPOLL/ioprio support upfrontfs/ | +52 | 0 replies | |
| 2/2 | io_uring: add POLL_FIRST support for send/sendmsg and recv/recvmsgfs/ include/ | +35 | 0 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.
| Patch | Hao Xu |
|---|---|
| Series | R-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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