summaryrefslogtreecommitdiffstats
path: root/sys/fs/nfs/nfs.h
Commit message (Collapse)AuthorAgeFilesLines
* Increase NFS_TICKINTVL value from 10 to 500. Now that callout does usefulmav2011-05-061-1/+1
| | | | | | | things only once per second, so other 99 calls per second were useless and just don't allow idle system to sleep properly. Reviewed by: rmacklem
* Change some defaults in the experimental NFS client to be thermacklem2011-04-171-0/+1
| | | | | | | | | same as the regular NFS client for NFSv3. The main one is making use of a reserved port# the default. Also, set the retry limit for TCP the same and fix the code so that it doesn't disable readdirplus for NFSv4. MFC after: 2 weeks
* Change the experimental NFS client so that it creates nfsiodrmacklem2011-04-151-2/+3
| | | | | | | | | threads in the same manner as the regular NFS client after r214026 was committed. This resolves the lors fixed by r214026 and its predecessors for the regular client. Reviewed by: jhb MFC after: 2 weeks
* Modify the experimental NFS server so that it uses LK_SHAREDrmacklem2010-12-251-0/+1
| | | | | | | | | | | | for RPC operations when it can. Since VFS_FHTOVP() currently always gets an exclusively locked vnode and is usually called at the beginning of each RPC, the RPCs for a given vnode will still be serialized. As such, passing a lock type argument to VFS_FHTOVP() would be preferable to doing the vn_lock() with LK_DOWNGRADE after the VFS_FHTOVP() call. Reviewed by: kib MFC after: 2 weeks
* Replace RPCAUTH_UNIXGIDS with NFS_MAXGRPS so that nfscbd.c will build.rmacklem2009-06-201-2/+2
| | | | Approved by: kib (mentor)
* Change the size of the nfsc_groups[] array in the experimental nfsrmacklem2009-06-201-4/+4
| | | | | | | | client to RPCAUTH_UNIXGIDS + 1 (17), since that is what can go on the wire for AUTH_SYS authentication. Reviewed by: brooks Approved by: kib (mentor)
* Fix the comment in sys/fs/nfs/nfs.h to correctly reflect thermacklem2009-05-221-1/+1
| | | | | | | current use of the R_xxx flags. This changed when the NFS_LEGACYRPC code was removed from the subsystem. Approved by: kib (mentor)
* Move the nfsstat structure and proc/op number definitions on thermacklem2009-05-151-55/+0
| | | | | | | | | experimental nfs subsystem from sys/fs/nfs/nfs.h and sys/fs/nfs/nfsproto.h to sys/fs/nfs/nfsport.h and rename nfsstat to ext_nfsstat. This was done so that src/usr.bin/nfsstat.c could use it alongside the regular nfs include files and struct nfsstat. Approved by: kib (mentor)
* Apply changes to the experimental nfs server so that it uses the securityrmacklem2009-05-141-8/+5
| | | | | | | flavors as exported in FreeBSD-CURRENT. This allows it to use a slightly modified mountd.c instead of a different utility. Approved by: kib (mentor)
* Change the name of the nfs server addsock structure from nfsd_argsrmacklem2009-05-111-1/+1
| | | | | | | to nfsd_addsock_args, so that it is consistent with the one in sys/nfsserver/nfs.h. Approved by: kib (mentor)
* Add the experimental nfs subtree to the kernel, that includesrmacklem2009-05-041-0/+704
support for NFSv4 as well as NFSv2 and 3. It lives in 3 subdirs under sys/fs: nfs - functions that are common to the client and server nfsclient - a mutation of sys/nfsclient that call generic functions to do RPCs and handle state. As such, it retains the buffer cache handling characteristics and vnode semantics that are found in sys/nfsclient, for the most part. nfsserver - the server. It includes a DRC designed specifically for NFSv4, that is used instead of the generic DRC in sys/rpc. The build glue will be checked in later, so at this point, it consists of 3 new subdirs that should not affect kernel building. Approved by: kib (mentor)
OpenPOWER on IntegriCloud