Skip to content

Enable NO_OFFLOAD support

Jens Axboe io-uring 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 20 repliesIn review
  2. v16 patches 8 repliesSuperseded

Changes in v2 from the cover letter

- Get rid of per-io_kiocb state, only apply this logic off the direct and initial submission path. Add IO_URING_F_NO_OFFLOAD for that.
- Due to the above, drop the two first prep patches as they are no longer needed.
- Make it mutually exclusive with IORING_SETUP_IOPOLL.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4io_uring: add support for NO_OFFLOADinclude/linux/io_uring.h include/uapi/linux/io_uring.h io_uring/io_uring.c +2 more+50 -180 replies
2/4Revert "io_uring: always go async for unsupported fadvise flags"io_uring/advise.c+10 -150 replies
3/4Revert "io_uring: for requests that require async, force it"io_uring/advise.c io_uring/fs.c io_uring/net.c +4 more+34 -330 replies
4/4io_uring: mark opcodes that always need io-wq puntio_uring/io_uring.c io_uring/opdef.c io_uring/opdef.h+23 -320 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/4] Enable NO_OFFLOAD support

This series enables support for forcing no-offload for requests that otherwise would have been punted to io-wq. In essence, it bypasses the normal non-blocking issue in favor of just letting the issue block. This is only done for requests that would've otherwise hit io-wq in the offload path, anything pollable will still be doing non-blocking issue. See patch 3 for details.

Git tree: https://git.kernel.dk/cgit/linux/log/?h=io_uring-sync-issue

Since v1:
- Get rid of per-io_kiocb state, only apply this logic off the direct and initial submission path. Add IO_URING_F_NO_OFFLOAD for that.
- Due to the above, drop the two first prep patches as they are no longer needed.
- Make it mutually exclusive with IORING_SETUP_IOPOLL.

Signature · 1 line
Jens Axboe