IORING_OP_WRITEV fails with EAGAIN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm working on an io_uring binding for Java and one of my integration
tests is failing. In this integration test, I'm writing large payloads
(up to 10x1MB) to the same non-blocking socket using IORING_OP_WRITEV.
The purpose of this test is to see if io_uring is going to
asynchronously complete the request when the socket needs to send more
data than it can send in 1 go.

The strange thing is that the CQE indicates the request failed with an
EAGAIN on Fedora 38 (Linux 5.16.12-200.fc35.x86_64). But on On Arch
Linux (linux 6.3.2.arch1-1) the test runs perfectly fine.

My question is under which condition an IORING_OP_WRITEV can fail with
an EAGAIN.

Regards,

Peter



[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux