OSDN Git Service

io_uring: support MSG_WAITALL for IORING_OP_SEND(MSG)
authorJens Axboe <axboe@kernel.dk>
Thu, 21 Apr 2022 01:21:36 +0000 (19:21 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Apr 2022 00:18:18 +0000 (18:18 -0600)
commit4c3c09439c08b03d9503df0ca4c7619c5842892e
treed1e8a8b484182dde10becb985808e89c114f0d38
parent970f256edb8c1259c8ed48d52b38215135396126
io_uring: support MSG_WAITALL for IORING_OP_SEND(MSG)

Like commit 7ba89d2af17a for recv/recvmsg, support MSG_WAITALL for the
send side. If this flag is set and we do a short send, retry for a
stream of seqpacket socket.

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