public inbox for [email protected]
 help / color / mirror / Atom feed
* [v6.4 Regression] rust/io_uring: tests::net::test_tcp_recv_multi hangs
@ 2023-10-19  8:06 Ming Lei
  2023-10-19 11:31 ` Jens Axboe
  0 siblings, 1 reply; 4+ messages in thread
From: Ming Lei @ 2023-10-19  8:06 UTC (permalink / raw)
  To: Jens Axboe, io-uring; +Cc: ming.lei, Guang Wu

Hello Jens,

Guang Wu found that tests::net::test_tcp_recv_multi in rust:io_uring
hangs, and no such issue in RH test kernel.

- git clone https://github.com/tokio-rs/io-uring.git
- cd io-uring
- cargo run --package io-uring-test

I figured out that it is made by missing the last CQE with -ENOBUFS,
which is caused by commit a2741c58ac67 ("io_uring/net: don't retry recvmsg()
unnecessarily").

I am not sure if the last CQE should be returned and that depends how normal
recv_multi is written, but IORING_CQE_F_MORE in the previous CQE shouldn't be
returned at least.


Thanks,
Ming


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

end of thread, other threads:[~2023-10-19 12:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-19  8:06 [v6.4 Regression] rust/io_uring: tests::net::test_tcp_recv_multi hangs Ming Lei
2023-10-19 11:31 ` Jens Axboe
2023-10-19 11:47   ` Ming Lei
2023-10-19 12:10     ` Jens Axboe

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