Thread (3 messages) 3 messages, 3 authors, 17d ago

Re: [PATCH] io_uring/zcrx: requeue multishot receives stopped by a local resource

flat view

From: Jens Axboe <axboe@kernel.dk>
Date: 2026-09-28 14:31:25
Also in: io-uring, lkml, stable

On Wed, 23 Sep 2026 09:20:44 +0000, Junyuan Feng wrote:
A multishot RECV_ZC can go idle with unread TCP data when a receiver-local
resource runs out. An empty copy-fallback niov freelist returns -ENOMEM;
a full CQ returns -ENOSPC. After partial progress the stop reason is
lost: io_zcrx_copy_chunk() and io_zcrx_recv_skb() report the copied
bytes, and tcp_read_sock() drops an error from a later call once earlier
data was consumed. The edge-triggered request is then not requeued, so
it cannot consume the remaining data until another socket event arrives.

[...]
Applied, thanks!

[1/1] io_uring/zcrx: requeue multishot receives stopped by a local resource
      commit: 98ad5b63f5041dc354a6e694f4a9436f74e0681b

Best regards,
-- 
Jens Axboe


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help