mbox series

[PATCHSET,0/2] io_uring: add sendmsg/recvmsg support

Message ID 20190629161204.27226-1-axboe@kernel.dk (mailing list archive)
Headers show
Series io_uring: add sendmsg/recvmsg support | expand

Message

Jens Axboe June 29, 2019, 4:12 p.m. UTC
This adds basic support for sendmsg(2) and recvmsg(2) through io_uring.
Similarly to how we handle file IO, we first attempt a non-blocking
call, and if that fails with -EAGAIN/-ENONBLOCK, we punt to an async
worker.

Pretty straightforward, and a test case can be found in the liburing
repository.