diff options
author | Jens Axboe | 2024-05-07 14:06:15 -0600 |
---|---|---|
committer | Jens Axboe | 2024-05-09 12:22:03 -0600 |
commit | 7dcc758cca432510f77b2fe1077be2314bc3785b (patch) | |
tree | bf8af33ed114eef8e8f75b1803d8ea0432bad5d5 /lib/locking-selftest-wsem.h | |
parent | 340f634aa43d4172771a784da31e5d4c7c7d3126 (diff) |
io_uring/net: add IORING_ACCEPT_DONTWAIT flag
This allows the caller to perform a non-blocking attempt, similarly to
how recvmsg has MSG_DONTWAIT. If set, and we get -EAGAIN on a connection
attempt, propagate the result to userspace rather than arm poll and
wait for a retry.
Suggested-by: Norman Maurer <norman_maurer@apple.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/locking-selftest-wsem.h')
0 files changed, 0 insertions, 0 deletions