commit | 0fa03c624d8fc9932d0f27c39a9deca6a37e0e17 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Fri Apr 19 13:34:07 2019 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Jul 09 14:32:05 2019 -0600 |
tree | 50924290ab944d1a68dcacb69c04d100c6d3049b | |
parent | 9e645e1105ca60fbbc6bddf2fd5ef7e57ed3dca8 [diff] |
io_uring: add support for sendmsg() This is done through IORING_OP_SENDMSG. There's a new sqe->msg_flags for the flags argument, and the msghdr struct is passed in the sqe->addr field. We use MSG_DONTWAIT to force an inline fast path if sendmsg() 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>