[Question] Is it expected link_timeout linked to send returns -ENOENT?

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

 



Hi, there.

I wrote an example for send + link_timeout and found link_timeout
returns -ENOENT.
Is this an expected behavior?

My example is at
https://github.com/hnakamur/liburing/commit/3a19659cda50dec05c59d80716b69f0390c5c600

If the timeout is very short like < 1000 nanoseconds, cqe->res for
link_timeout is -ENOENT.
If the timeout is long like > 1000 nanoseconds, cqe->res for
link_timeout is -ECANCELED.
In both cases, the send operation is executed successfully.

I read the explanation for IORING_OP_LINK_TIMEOUT at
https://manpages.ubuntu.com/manpages/jammy/en/man2/io_uring_enter.2.html
but it says nothing about ENOENT.

Thanks,

--
)Hioraki Nakamura) hnakamur@xxxxxxxxx



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux