Thread (4 messages) 4 messages, 1 author, 4h ago

Re: [RFC 2/2] dlm: fix socket hang on send buffer limitation with socket error

From: Alexander Aring <aahringo@redhat.com>
Date: 2026-10-05 14:53:53
Also in: gfs2

Hi,

On Fri, Oct 2, 2026 at 7:21 PM Alexander Aring [off-list ref] wrote:
As Sashiko AI bot mentioned [0], a socket connection can get stuck when
the send buffer limitation is reached and a socket error simultaneously
occurs.

This issue can be reproduced with the following setup:
1. Set sk_sndbuf to SOCK_MIN_SNDBUF.
2. Slow down DLM connections using netem.
3. Use tcpkill to randomly send TCP resets to DLM connections.
I ran this over the weekend and wasn't able to get the connection to
get stuck in the mentioned scenario as I think it triggers
.sk_write_space() and .sk_error_report() interleaved randomly.

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