public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Chuck Lever via Bugspray Bot <bugbot@kernel.org>
To: anna@kernel.org, trondmy@kernel.org, cel@kernel.org,
	 linux-nfs@vger.kernel.org, jlayton@kernel.org
Subject: Re: deploying both NFS client and server on the same machine trigger hungtask
Date: Tue, 03 Dec 2024 14:50:06 +0000	[thread overview]
Message-ID: <20241203-b219550c2-39095e50bfcb@bugzilla.kernel.org> (raw)
In-Reply-To: <3fd8e0681020f95832fadf9da7fa4de4d51efaed.camel@kernel.org>

Chuck Lever writes via Kernel.org Bugzilla:

(In reply to Bugspray Bot from comment #1)
> Jeff Layton <jlayton@kernel.org> writes:
> 
> On Tue, 2024-12-03 at 02:30 +0000, Li Lingfeng via Bugspray Bot wrote:
> > Li Lingfeng writes via Kernel.org Bugzilla:
> > 
> > We deployed the client and server on the same machine for some testing,
> which
> > caused some processes to trigger hungtask.

Thanks for the report.


> Note that this is really an unsupported configuration. It's very
> difficult to prevent a situation where the server needs memory in order
> to handle an RPC from the local client, and then tries to write back
> dirty NFS client pages in order to get it. Instant deadlock.
> 
> That kind of configuration is fine for basic functionality testing, but
> once you start getting into memory pressure, it can fall over pretty
> quickly.

Historically, yes, this configuration is officially unsupported. We treat this configuration as best effort only because it is not possible to close all possible writeback deadlocks, as you said above.

However, Neil has mentioned that it is an important usage scenario for one or more of SuSE's customers. And, it is quite broadly deployed for automated testing.

This particular bug appears to be locking related, not writeback related. IMO, deeper investigation is warranted.

View: https://bugzilla.kernel.org/show_bug.cgi?id=219550#c2
You can reply to this message to join the discussion.
-- 
Deet-doot-dot, I am a bot.
Kernel.org Bugzilla (bugspray 0.1-dev)


  reply	other threads:[~2024-12-03 14:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-03  2:30 deploying both NFS client and server on the same machine triggle hungtask Li Lingfeng via Bugspray Bot
2024-12-03 14:18 ` Jeff Layton
2024-12-03 14:50   ` Chuck Lever via Bugspray Bot [this message]
2024-12-04 15:30 ` deploying both NFS client and server on the same machine trigger hungtask Chuck Lever via Bugspray Bot
2024-12-04 15:45 ` Jeff Layton via Bugspray Bot
2024-12-06  8:55   ` Trond Myklebust
2024-12-08 21:20 ` Neil Brown via Bugspray Bot

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=20241203-b219550c2-39095e50bfcb@bugzilla.kernel.org \
    --to=bugbot@kernel.org \
    --cc=anna@kernel.org \
    --cc=cel@kernel.org \
    --cc=jlayton@kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=trondmy@kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox