io_uring: add support for IORING_OP_ACCEPT
authorJens Axboe <axboe@kernel.dk>
Thu, 17 Oct 2019 20:42:58 +0000 (14:42 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 29 Oct 2019 18:43:06 +0000 (12:43 -0600)
commit17f2fe35d080d8f64e86a60cdcd3a97edcbc213b
treeef7b351298c615040d1eeb4c68ac0d7af0d2030e
parentde2ea4b64b75a79ed9cdf9bf30e0e197901084e4
io_uring: add support for IORING_OP_ACCEPT

This allows an application to call accept4() in an async fashion. Like
other opcodes, we first try a non-blocking accept, then punt to async
context if we have to.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
include/uapi/linux/io_uring.h