All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Coddington <bcodding@redhat.com>
To: chuck.lever@oracle.com, jlayton@kernel.org,
	trond.myklebust@hammerspace.com, anna@kernel.org,
	davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
	pabeni@redhat.com, bfields@redhat.com
Cc: linux-nfs@vger.kernel.org
Subject: [PATCH 0/1] NFSv4 callback service ate my homework
Date: Fri,  3 Mar 2023 16:08:31 -0500	[thread overview]
Message-ID: <cover.1677877233.git.bcodding@redhat.com> (raw)

A system with very low autofs timeouts for many mounts of v4.0 exports,
while attempting to mount with the non-specific vers=4 option would run out
of memory every few days.  Each mount was doing the v4.2, v4.1, v4.0
negotiation and constantly setting up and tearing down the backchannel
service for positive minorversions.  We found a probable cause:
wake_up_process() isn't guarunteed to execute the threadfn; kthread_stop()
can race in and prevent it.

Benjamin Coddington (1):
  SUNRPC: Fix a server shutdown leak

 net/sunrpc/svc.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

-- 
2.31.1


             reply	other threads:[~2023-03-03 21:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-03 21:08 Benjamin Coddington [this message]
2023-03-03 21:08 ` [PATCH 1/1] SUNRPC: Fix a server shutdown leak Benjamin Coddington
2023-03-08  3:14   ` Chuck Lever III
2023-03-08 10:37     ` Benjamin Coddington
2023-03-08 10:48   ` Jeff Layton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1677877233.git.bcodding@redhat.com \
    --to=bcodding@redhat.com \
    --cc=anna@kernel.org \
    --cc=bfields@redhat.com \
    --cc=chuck.lever@oracle.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=jlayton@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=trond.myklebust@hammerspace.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.