RFC dlm: fix socket hang on send buffer limitation with socket error
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dlm: drop setting SOCK_NOSPACEfs/ | +0 | 0 replies | |
| 2/2 | dlm: fix socket hang on send buffer limitation with socket errorfs/ | +36 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 0/2] dlm: fix socket hang on send buffer limitation with socket error
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/[email protected]/
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(-)
Signature · 1 line
2.43.0