public inbox for [email protected]
 help / color / mirror / Atom feed
* io-uring and tcp sockets
@ 2020-11-03  1:56 David Ahern
  2020-11-04 11:21 ` Stefan Metzmacher
  0 siblings, 1 reply; 6+ messages in thread
From: David Ahern @ 2020-11-03  1:56 UTC (permalink / raw)
  To: Jens Axboe, io-uring

Hi:

New to io_uring but can't find this answer online, so reaching out.

I was trying out io_uring with netperf - tcp stream sockets - and
noticed a submission is called complete even with a partial send
(io_send(), ret < sr->len). Saving the offset of what succeeded (plus
some other adjustments) and retrying the sqe again solves the problem.
But the issue seems fundamental so wondering if is intentional?

Thanks,
David

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

end of thread, other threads:[~2020-11-08 23:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-03  1:56 io-uring and tcp sockets David Ahern
2020-11-04 11:21 ` Stefan Metzmacher
2020-11-04 14:50   ` Jens Axboe
2020-11-04 15:38     ` David Ahern
2020-11-04 17:08       ` Stefan Metzmacher
2020-11-08 23:18         ` David Ahern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox