Re: [PATCH] NFSD: fix up error returned by write_threads()

Chuck Lever <[email protected]>
Newsgroups gmane.linux.nfs
Message-ID <178096512219.86595.6779381800614443178.b4-ty@b4>
From: Chuck Lever <[email protected]>

On Mon, 08 Jun 2026 09:14:02 -0400, Scott Mayhew wrote:
> Previously, writing 0 to /proc/fs/nfsd/threads would return 0 if the NFS
> server wasn't running.  After commit 14282cc3cfa2, -EIO is returned.
> Existing scripts don't expect this behavior.
> 
> Add a check to bypass the call to nfsd_svc() when newthreads is 0 and
> the NFS server is already stopped.
> 
> [...]

Applied to nfsd-testing, thanks!

[1/1] NFSD: fix up error returned by write_threads()
      commit: 36f28c2e37a6a508f5a7be62ebe9c8887ed9bd20

--
Chuck Lever <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.