aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorHannes Reinecke <[email protected]>2025-05-28 06:45:34 +0000
committerChristoph Hellwig <[email protected]>2025-06-04 08:02:23 +0000
commitf42d4796ee100fade86086d1cf98537fb4d326c8 (patch)
tree833201a31a9c2cc485107d4eeec935d4117bfd37 /net/lapb/lapb_timer.c
parentnvme-tcp: sanitize request list handling (diff)
downloadkernel-f42d4796ee100fade86086d1cf98537fb4d326c8.tar.gz
kernel-f42d4796ee100fade86086d1cf98537fb4d326c8.zip
nvme-tcp: fix I/O stalls on congested sockets
When the socket is busy processing nvme_tcp_try_recv() might return -EAGAIN, but this doesn't automatically imply that the sending side is blocked, too. So check if there are pending requests once nvme_tcp_try_recv() returns -EAGAIN and continue with the sending loop to avoid I/O stalls. Signed-off-by: Hannes Reinecke <[email protected]> Acked-by: Chris Leech <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions