Re: warning in nfsd4_cb_done

Jeff Layton via Bugspray Bot
2025-02-24T12:19:36Z

Jeff Layton writes via Kernel.org Bugzilla:

> rpc-srv/tcp: nfsd: sent 106256 when sending 131204 bytes - shutting down
> socket

This is unrelated to the original bug report.

It means that the kernel tried to send 131204 bytes on the socket, but only 106256 was sent. It was a short send, IOW. Usually that means the TCP buffers are full and couldn't hold the whole message, possibly because the receiver isn't ACKing things quickly enough.

To try and remedy this, the server shuts down the socket. That should be harmless though -- the client should just reestablish it once it notices the socket is down. I wonder if we really even need that printk at all. It doesn't tell the admin anything actionable, especially since it doesn't tell you anything about the peer.

View: https://bugzilla.kernel.org/show_bug.cgi?id=219737#c13