summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nfsd
Commit message (Collapse)AuthorAgeFilesLines
* Add META_MODE support.sjg2015-06-131-0/+21
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-272-129/+68
| |\ | |/ |/|
| * Merge from head@274682sjg2014-11-191-1/+19
| |\
| * \ Merge head from 7/28sjg2014-08-191-2/+2
| |\ \
| * | | Updated dependenciessjg2014-05-161-1/+0
| | | |
| * | | Updated dependenciessjg2014-05-101-0/+2
| | | |
| * | | Merge from headsjg2013-09-051-1/+22
| |\ \ \
| * \ \ \ sync from headsjg2013-04-121-68/+55
| |\ \ \ \
| * | | | | Updated dependenciessjg2013-03-111-0/+1
| | | | | |
| * | | | | Updated dependenciessjg2013-02-161-2/+0
| | | | | |
| * | | | | Sync with HEAD.obrien2013-02-083-24/+118
| |\ \ \ \ \
| | \ \ \ \ \
| | \ \ \ \ \
| *-. \ \ \ \ \ Sync from headsjg2012-11-041-10/+10
| |\ \ \ \ \ \ \
| * | | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+22
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | | | Remove oldnfs remnants from nfsd(8).trasz2015-04-302-120/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reviewed by: rmacklem@ Sponsored by: The FreeBSD Foundation
* | | | | | | | Remove some oldnfs remnants.trasz2015-04-181-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Differential Revision: https://reviews.freebsd.org/D2287 Reviewed by: rmacklem@ Sponsored by: The FreeBSD Foundation
* | | | | | | | Remove hard limits on number of accepting NFS connections.mav2015-04-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Limits of 5 connections set long ago creates problems for SPEC benchmark. Make the NFS follow system-wide maximum. MFC after: 1 week
* | | | | | | | Fix markup for minthreads and maxthreads.delphij2015-01-011-7/+7
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | PR: 196403 MFC after: 2 weeks
* | | | | | | Document the use of the vfs.nfsd sysctls that control the size ofrmacklem2014-08-101-1/+19
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the NFS server's DRC for TCP. This is a content change. MFC after: 1 week
* | | | | | r243637 changed the default number of nfsd threads created,rmacklem2014-07-191-2/+2
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | but the man page did not reflect this. This is a content change. Reported by: bde MFC after: 2 weeks
* | | | | Document the fact that an NFSv4 mount uses the host uuid to uniquelyrmacklem2013-07-011-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | identify the client to the server. As such, NFSv4 mounts will break if host_enable="NO" is specified. This is a content change. Suggested by: lars@netapp.com MFC after: 3 days
* | | | | Document the fact that an NFSv4 mount against a volume on the same hostrmacklem2013-05-011-1/+8
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | can result in a hung NFS server and is not recommended. This is a content change. MFC after: 2 weeks
* | | | Simplify r243637 and make sure that nfsdargs.{min,max}threads are always setdelphij2013-02-141-20/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to meaningful value: - When nfsdcnt is set, it dictates all values; - Otherwise, nfsdargs.minthreads is set to user specified value, or the automatically detected value if there is no one specified; nfsdargs.maxthreads is set to the user specified value, or the value of nfsdargs.minthreads if there is no one specified; when it is smaller than nfsdargs.minthreads, the latter's value is always used. MFC after: 2 weeks
* | | | Abstract out setting of nfsdcnt and consistently use MAXNFSDCNT when thedelphij2013-02-141-21/+21
| | | | | | | | | | | | | | | | | | | | | | | | proposed value is too high and DEFNFSDCNT when proposed value is too low. MFC after: 2 weeks
* | | | Use static for all functions that do not need to be exported.delphij2013-02-141-27/+27
| |_|/ |/| | | | | | | | MFC after: 2 weeks
* | | Attempt to clarify that for ZFS, all file systems underrmacklem2012-12-251-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | the NFSv4 root must be exported. This is because ZFS checks exports itself. This is a content change. MFC after: 2 weeks
* | | Post r243965 the nfsd daemon will not start up for kernelsrmacklem2012-12-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | built without "options INET6". This patch fixes the problem. Reported by: avg Tested by: avg MFC after: 2 weeks
* | | Document maxthreads and minthreads argumentsalfred2012-12-021-2/+13
| | |
* | | Don't allow minthreads > maxthreads.alfred2012-11-281-0/+4
| | | | | | | | | | | | Suggested by: rmacklem
* | | Fix typo.alfred2012-11-281-1/+1
| | | | | | | | | | | | Pointed out by: marck
* | | Autoconfigure nfsd threads based on ncpu.alfred2012-11-271-20/+97
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rick Macklem and I discussed the default number of nfsd threads and concluded that it is too low to perform adiquitely on today's hardware. We decided to auto tune the number of nfsds based on the number of cpus in the system. While I'm here I've also added: 1) ability to set the minthreads/maxthreads from userland. 2) ability to run nfsd in debug mode via the cli. Reviewed by: rmacklem MFC after: 2 weeks
* | Fix typo in error when unable to create TCP socketeadler2012-10-221-1/+1
| | | | | | | | | | | | | | PR: bin/172490 Submitted by: bdrewery Approved by: cperciva MFC after: 3 days
* | More -Wmissing-variable-declarations fixes.ed2012-10-191-9/+9
|/ | | | | | | | | | | | | | | | In addition to adding `static' where possible: - bin/date: Move `retval' into extern.h to make it visible to date.c. - bin/ed: Move globally used variables into ed.h. - sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings. - usr.bin/calendar: Remove unneeded variables. - usr.bin/chat: Make `line' local instead of global. - usr.bin/elfdump: Comment out unneeded function. - usr.bin/rlogin: Use _Noreturn instead of __dead2. - usr.bin/tset: Pull `Ospeed' into extern.h. - usr.sbin/mfiutil: Put global variables in mfiutil.h. - usr.sbin/pkg: Remove unused `os_corres'. - usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
* General mdoc(7) and typo fixes.gjb2012-05-121-1/+1
| | | | | | PR: 167776 Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org) MFC after: 3 days
* Remove superfluous paragraph macro.joel2012-03-251-2/+0
|
* Remove duplicated header fileskevlo2011-06-241-1/+0
|
* Fix the nfsv4 man page to reflect the changes related tormacklem2011-05-151-27/+19
| | | | | making the new NFS client and server the default. This is a content change.
* Patch the mountd and nfsd man pages to reflect the recent changesrmacklem2011-04-241-13/+7
| | | | | done by r220980 to deprecate the -e option and add the -o option. This is a content change for both man pages.
* This patch changes the default NFS server to the new one, which wasrmacklem2011-04-241-9/+9
| | | | | | | | referred to as the experimental server. It also adds a new command line option "-o" to both mountd and nfsd that forces them to use the old/regular NFS server. The "-e" option for these commands is now a no-op, since the new server is the default. I will be committing rc script and man changes soon. Discussed on freebsd-fs@.
* Add stablerestart(5) to the See Also list for nfsd.8.rmacklem2011-04-191-1/+2
| | | | | | | This is a content change. Suggested by: Jeremy Chadwick MFC after: 2 weeks
* Revert r220809 since it put the entry in the wrong placermacklem2011-04-191-2/+1
| | | | in the list and didn't change the date.
* Add stablerestart(5) to the See Also list for nfsd(8).rmacklem2011-04-191-1/+2
| | | | | | | This is a content change. Suggested by: Jeremy Chadwick MFC after: 2 weeks
* Modify the man pages to reflect the addition of a backuprmacklem2011-04-102-31/+22
| | | | | | | stable restart file, as done by r220510. This is a content change. MFC after: 2 weeks
* Add support for a backup stable restart file to the nfsd,rmacklem2011-04-101-9/+110
| | | | | | | | | | used for NFSv4 restart. This permits the nfsd to create the stable restart file as required and minimizes the risk of trouble if the file is lost. Suggested by: Tim Kientzle Reviewed by: jhb MFC after: 2 weeks
* Save a copy of errno before invoking syslog() if accept() or select() fail.jhb2011-02-171-6/+9
| | | | | | | syslog() can trash the errno value causing nfsd to exit for non-fatal errors like ECONNABORTED from accept(). MFC after: 1 week
* Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki whilejoel2010-08-161-1/+1
| | | | | | translating these manual pages. Minor corrections by me. Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
* Fix typos and spelling mistakes.joel2010-08-061-1/+1
|
* mdoc: Garbage collect unused/unneeded macrosuqs2010-05-272-2/+2
|
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-2/+0
|
* ANSIfy almost all applications that use WARNS=6.ed2009-12-291-3/+3
| | | | | | | I was considering committing all these patches one by one, but as discussed with brooks@, there is no need to do this. If we ever need/want to merge these changes back, it is still possible to do this per application.
OpenPOWER on IntegriCloud