Thread (3 messages) 3 messages, 1 author, 2d ago

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

From: Alexander Aring <aahringo@redhat.com>
Date: 2026-10-02 23:21:19
Also in: gfs2

Hi,

This patch series is based on Eric Dumazet's series [0] cleaning up
and fixing kernel users of SOCK_NOSPACE handling. His series pointed out
that DLM socket handling can get stuck when the socket send buffer limit
is reached and a socket error occurs simultaneously.

This patch series provides a fix for this behavior. I was able to reproduce
the scenario and trigger the hang locally. With these patches applied on
top of Eric's series, I can no longer reproduce the issue.

Please feel free to review and take these patches if they look reasonable.

- Alex

[0] https://lore.kernel.org/netdev/20260929071743.23624-1-edumazet@kernel.org/ (local)

Alexander Aring (2):
  dlm: drop setting SOCK_NOSPACE
  dlm: fix socket hang on send buffer limitation with socket error

 fs/dlm/lowcomms.c | 50 ++++++++++++++++++++++++++++++++++-------------
 1 file changed, 36 insertions(+), 14 deletions(-)

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