commit | aa1fa28fc73ea6b740ee7b62bf3b07141883dbb8 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri Apr 19 13:38:09 2019 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Jul 09 14:32:14 2019 -0600 |
tree | 85963ae2cf72deda9bea41efd9492c94e9344b8b | |
parent | 0fa03c624d8fc9932d0f27c39a9deca6a37e0e17 [diff] |
io_uring: add support for recvmsg() This is done through IORING_OP_RECVMSG. This opcode uses the same sqe->msg_flags that IORING_OP_SENDMSG added, and we pass in the msghdr struct in the sqe->addr field as well. We use MSG_DONTWAIT to force an inline fast path if recvmsg() doesn't block, and punt to async execution if it would have. Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Jens Axboe <axboe@kernel.dk>