On Wed, Apr 03, 2024 at 07:29:00AM +0200, Cedric Blancher wrote: > On Tue, 2 Apr 2024 at 21:38, Chuck Lever <cel@xxxxxxxxxx> wrote: > > > > From: Chuck Lever <chuck.lever@xxxxxxxxxx> > > > > Jan Schunk reports that his small NFS servers suffer from memory > > exhaustion after just a few days. A bisect shows that commit > > e18e157bb5c8 ("SUNRPC: Send RPC message on TCP with a single > > sock_sendmsg() call") is the first bad commit. > > > > That commit assumed that sock_sendmsg() releases all the pages in > > the underlying bio_vec array, but the reality is that it doesn't. > > svc_xprt_release() releases the rqst's response pages, but the > > record marker page fragment isn't one of those, so it was never > > released. > > > > This is a narrow fix that can be applied to stable kernels. A > > more extensive fix is in the works. > > > > Reported-by: Jan Schunk <scpcom@xxxxxx> > > Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218671 > > Fixes: e18e157bb5c8 ("SUNRPC: Send RPC message on TCP with a single sock_sendmsg() call") > > Is this bug present in 6.6 LTS? It was introduced in v6.6, so yes. ~/linux $ git describe --contains e18e157bb5c8 v6.6-rc1~108^2~27 ~/linux $ Once this fix is merged upstream, the LTS maintainers will notice the Fixes: tag and backport it to v6.6 automatically. -- Chuck Lever