Accept tweaks
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | io_uring/net: add IORING_ACCEPT_DONTWAIT flaginclude/ io_uring/ | +10 | 0 replies | |
| 2/2 | io_uring/net: add IORING_ACCEPT_POLL_FIRST flaginclude/ io_uring/ | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCHSET 0/2] Accept tweaks
Hi,
Add support for a forced nonblock accept attempt, returning -EAGAIN if nothing is there to accept rather than arm poll. This is similar to similarly provided "-EAGAIN is final" for other opcodes.
Add support for doing polling first on accept. Again similar to support we have for eg recv/recvmsg on relying on poll before initiating the first accept request, avoiding expensive setup only to tear it down and wait for a retry.
include/uapi/linux/io_uring.h | 2 ++ io_uring/net.c | 22 ++++++++++++++++------ 2 files changed, 18 insertions(+), 6 deletions(-)
Signature · 1 line
Jens Axboe