All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHSET next 0/2] Allow MSG_WAITALL for send/sendmsg
@ 2022-04-21  1:39 Jens Axboe
  2022-04-21  1:39 ` [PATCH 1/2] io_uring: support MSG_WAITALL for IORING_OP_SEND(MSG) Jens Axboe
  2022-04-21  1:39 ` [PATCH 2/2] io_uring: allow re-poll if we made progress Jens Axboe
  0 siblings, 2 replies; 3+ messages in thread
From: Jens Axboe @ 2022-04-21  1:39 UTC (permalink / raw)
  To: io-uring

Hi,

Just like we did for recv/recvmsg, allow MSG_WAITALL to mean that we want
to wait for all the requested data instead of doing a partial completion.

Patch 2 ensures that we can sanely use apoll multiple times, as long as
we're making progress on the IO. This is important to avoid punting to
io-wq if we can avoid it. The gate on already having polled is lifted
if we did transfer some data, which should avoid the initial worry of
why that place was in check - repeatedly non-block retrying and getting
-EAGAIN.

-- 
Jens Axboe



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-04-21  1:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-21  1:39 [PATCHSET next 0/2] Allow MSG_WAITALL for send/sendmsg Jens Axboe
2022-04-21  1:39 ` [PATCH 1/2] io_uring: support MSG_WAITALL for IORING_OP_SEND(MSG) Jens Axboe
2022-04-21  1:39 ` [PATCH 2/2] io_uring: allow re-poll if we made progress Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.