Page MenuHomeFreeBSD

Update the nfsd.8 man page to indicate "-n" is deprecated
ClosedPublic

Authored by rmacklem on Sat, Feb 22, 2:37 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 10, 1:37 PM
Unknown Object (File)
Tue, Mar 4, 7:48 PM
Unknown Object (File)
Sun, Mar 2, 5:17 AM
Unknown Object (File)
Sat, Mar 1, 11:18 PM
Unknown Object (File)
Sat, Mar 1, 3:31 PM
Unknown Object (File)
Thu, Feb 27, 9:45 PM
Unknown Object (File)
Wed, Feb 26, 11:23 AM
Unknown Object (File)
Sat, Feb 22, 4:35 AM
Subscribers

Details

Summary

Bugzilla 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 to the man page clarifies that "-n" is deprecated
in favor of --minthreads and --maxthreads.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable