poll_shutdown
is called in a busy loop when returning Poll::Pending
#831
Labels
poll_shutdown
is called in a busy loop when returning Poll::Pending
#831
Code to reproduce
Actual result
poll_shutdown
is called a lot of times as if in a busy loop until the timer times up.Expected result
When
poll_shutdown
returnsPoll::Pending
, it should not be woken up immediately. Calling_main_tcp
produces the following output:Expecting to see something similar using
main_h2
.Reference
compio-rs/cyper#25
This was first discovered when I saw CPU usage spikes in a server running
cyper
incompio
runtime, which uses io_uring under the hood. Normally incompio
IO requests submitted do not finish immediately, which is causing issues here.The text was updated successfully, but these errors were encountered: