On 11/4/20 10:08 AM, Stefan Metzmacher wrote: > sendmsg has msg_control, I think we'll need more interaction with the socket layer here > in order to wait in a single low level ->sendmsg_locked() call. > > I know IORING_OP_SENDMSG doesn't support msg_control currently, but I hope to get that fixed in future. That does not work. __io_queue_sqe calls io_issue_sqe with the force_nonblock flag set. io_send and io_sendmsg respond to that flag by setting MSG_DONTWAIT in the respective socket call. Hence, my question about the short send being by design.