<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.sbin/nfsd, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2025-12-24T16:29:29Z</updated>
<entry>
<title>nfsd.8: Add a short paragraph w.r.t. NFSv3 vs NFSv4 setup</title>
<updated>2025-12-24T16:29:29Z</updated>
<author>
<name>Rick Macklem</name>
<email>rmacklem@FreeBSD.org</email>
</author>
<published>2025-12-24T16:29:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4f184fd35d81bbd85284d47d2a65aeece67e87d4'/>
<id>urn:sha1:4f184fd35d81bbd85284d47d2a65aeece67e87d4</id>
<content type='text'>
The nfsd can be configured to support NFSv3, NFSv4 or both
of them.

This patch adds a short paragraph to nfsd.8 to explain this.

This is a content change.

Reviewed by:	kib, zaiee (manpages)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D54279
</content>
</entry>
<entry>
<title>nfsd, rpcbind: add -P option to support pidfile path</title>
<updated>2025-06-09T15:24:07Z</updated>
<author>
<name>Ka Ho Ng</name>
<email>khng@FreeBSD.org</email>
</author>
<published>2025-06-09T03:30:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=42905aa17b7e90a1f6881d84903e58330488f4ea'/>
<id>urn:sha1:42905aa17b7e90a1f6881d84903e58330488f4ea</id>
<content type='text'>
The -P option, when specified opens a pidfile to a given path.
Both daemons also install a default pid file to the corresponding
locations, that is, /var/run/nfsd.pid and /var/run/rpcbind.pid.

Sponsored by:	Juniper Networks, Inc.
MFC after:	7 days
Reviewed by:	rmacklem
Differential Revision:	https://reviews.freebsd.org/D50624
</content>
</entry>
<entry>
<title>nfsd.8: Note that the -n option is deprecated</title>
<updated>2025-03-10T13:35:23Z</updated>
<author>
<name>Rick Macklem</name>
<email>rmacklem@FreeBSD.org</email>
</author>
<published>2025-03-10T13:35:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f27afbd850021b9cb7cf4e66f0621c793ad37de0'/>
<id>urn:sha1:f27afbd850021b9cb7cf4e66f0621c793ad37de0</id>
<content type='text'>
PR#284616 reported that --maxthreads did not
obey the 256 thread limit defined as MAXNFSDCNT in nfsd.c.

This is actually a feature and not a bug, since many NFS
servers will now want to run more than 256 threads and
--maxthreads can be used to set the upper bound on the
number of threads. (MAXNFSDCNT was used long ago to
define how many daemons would be forked, before daemons
were replaced by kernel threads.)

However, the nfsd.8 man page was misleading, since it
indicated that "-n" was the equivalent to setting both
--minthreads and --maxthreads to the same value.
This patch fixes the man page.

This is a content change.

PR:	284616
Reviewed by:	0mp (manpages)
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D49102
</content>
</entry>
<entry>
<title>nfsd.c: Synchronize error handling</title>
<updated>2024-09-29T20:11:54Z</updated>
<author>
<name>Joyu Liao</name>
<email>joyul@juniper.net</email>
</author>
<published>2024-09-29T20:11:54Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f321956d9806bf0c171b9097a25b294c1498c9de'/>
<id>urn:sha1:f321956d9806bf0c171b9097a25b294c1498c9de</id>
<content type='text'>
Synchronize the error handling in nfsd. If you check other error
handlings in those same condition blocks, it uses nfsd_exit instead,
which will call killchildren() and call the rpcbind service to do
the service un-mapping.

MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D46442
</content>
</entry>
<entry>
<title>Remove residual blank line at start of Makefile</title>
<updated>2024-07-15T22:43:39Z</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2024-07-15T04:46:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e9ac41698b2f322d55ccf9da50a3596edb2c1800'/>
<id>urn:sha1:e9ac41698b2f322d55ccf9da50a3596edb2c1800</id>
<content type='text'>
This is a residual of the $FreeBSD$ removal.

MFC After: 3 days (though I'll just run the command on the branches)
Sponsored by: Netflix
</content>
</entry>
<entry>
<title>nfsd.8: Update the man page for -N</title>
<updated>2024-07-09T19:50:26Z</updated>
<author>
<name>Joyu Liao</name>
<email>joyul@juniper.net</email>
</author>
<published>2024-07-09T19:50:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f7dc514c01d0a3a08e329744eb15c4af495f5fea'/>
<id>urn:sha1:f7dc514c01d0a3a08e329744eb15c4af495f5fea</id>
<content type='text'>
Commit 77439cd18f23 added a new command line option "-N".  This patch
updates the man page for this.

This is a content change.

Reviewed by:	Alexander Ziaee &lt;concussious.bugzilla@runbox.com&gt; (manpages)
Differential Revision:	https://reviews.freebsd.org/D45118
</content>
</entry>
<entry>
<title>nfsd: Add option to disable going into daemon mode</title>
<updated>2024-07-09T19:44:38Z</updated>
<author>
<name>Joyu Liao</name>
<email>joyul@juniper.net</email>
</author>
<published>2024-07-09T19:44:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=77439cd18f342fa4f206d4fb35d40c1d02e1bf8c'/>
<id>urn:sha1:77439cd18f342fa4f206d4fb35d40c1d02e1bf8c</id>
<content type='text'>
In our products, we need those options to support our features.

Add daemon mode option for mountd, nfsd.
Add skip local host binding option for rpcd.
Add skip local host binding option for mountd.

Reviewed by:	rmacklem
Differential Revision:	https://reviews.freebsd.org/D45118
</content>
</entry>
<entry>
<title>nfsd.8: Document ways to minimize Copy operation times</title>
<updated>2024-03-18T22:40:41Z</updated>
<author>
<name>Rick Macklem</name>
<email>rmacklem@FreeBSD.org</email>
</author>
<published>2024-03-18T22:40:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8f13abb4fd2f3c5d25bde830607a4aec6cec42d9'/>
<id>urn:sha1:8f13abb4fd2f3c5d25bde830607a4aec6cec42d9</id>
<content type='text'>
For NFSv4.2, a Copy operation can take a long time to complete.
If there is a concurrent ExchangeID or DelegReturn operation
which requires the exclusive lock on all NFSv4 state, this can
result in a stall of the nfsd server.

This patch documents ways to avoid this problem.

This is a content change.

Reviewed by:	karels, wollman, pauamma_gundo.com (manpages)
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D44395
</content>
</entry>
<entry>
<title>nfsv4(4): Reflow lines to 80 character limit</title>
<updated>2024-01-09T11:14:57Z</updated>
<author>
<name>Daniel Ebdrup Jensen</name>
<email>debdrup@FreeBSD.org</email>
</author>
<published>2024-01-08T13:50:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=45486372ca8da6385bee3eaed2f0279c94db0476'/>
<id>urn:sha1:45486372ca8da6385bee3eaed2f0279c94db0476</id>
<content type='text'>
In belatedly fixing a mistake made in fbbdfa2b8a42, I noticed that igor
and mandoc -Tlint had a few more things to say.

As such, I'm reflowing a few lines and fixing a contraction.

MFC with:	fbbdfa2b8a42
</content>
</entry>
<entry>
<title>nfsv4(4): Belatedly bump .Dd</title>
<updated>2024-01-09T11:14:56Z</updated>
<author>
<name>Daniel Ebdrup Jensen</name>
<email>debdrup@FreeBSD.org</email>
</author>
<published>2024-01-08T13:36:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c925f0720f58bf6021aeeb4dd1fafbc7421b209c'/>
<id>urn:sha1:c925f0720f58bf6021aeeb4dd1fafbc7421b209c</id>
<content type='text'>
I forgot to do it when making the commit, so hat-tip to asomers@

Reported by:	asomers@
Fixes:		fbbdfa2b8a42 (nfsv4(4): mention the nfsv4_server_only..)
MFC with:	fbbdfa2b8a42
</content>
</entry>
</feed>
