mbox series

[PATCHSET,v2,0/4] Enable NO_OFFLOAD support

Message ID 20230420183135.119618-1-axboe@kernel.dk (mailing list archive)
Headers show
Series Enable NO_OFFLOAD support | expand

Message

Jens Axboe April 20, 2023, 6:31 p.m. UTC
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.