Home | History | Annotate | Download | only in nfs
History log of /src/sys/nfs/nfsproto.h
RevisionDateAuthorComments
 1.18  07-Dec-2024  riastradh sys/nfs/nfs: Add some missing includes and include guards.

Fix up some minor KNF issues while here.

No functional change intended (except to enable things to build that
might not have built before because of previously required #include
ordering).
 1.17  27-Dec-2006  yamt remove nqnfs.
 1.16  02-Sep-2006  yamt branches: 1.16.2;
nfsd: deal with variable-sized filehandles.
 1.15  31-Jul-2006  martin Make filehandles opaque to userland
 1.14  13-Jul-2006  martin Fix alignement problems for fhandle_t, exposed by gcc4.1.

While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ,
version the getfh(2) syscall and explicitly pass the size available in
the filehandle from userland.

Discussed on tech-kern, with lots of help from yamt (thanks!).
 1.13  14-Mar-2006  yamt branches: 1.13.6;
bump NFS_MAXDGRAMDATA from 32k to 60k. (ie. near the protocol limit of udp.)
- it can help performance for some environments.
- administrators should be free to do silly things. :-)
 1.12  11-Dec-2005  christos branches: 1.12.4; 1.12.6; 1.12.8; 1.12.10;
merge ktrace-lwp.
 1.11  25-Sep-2005  christos Add missing TIMEDOUT and IO errors.
 1.10  07-Aug-2003  agc branches: 1.10.14; 1.10.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.9  19-Sep-2000  fvdl branches: 1.9.24;
Adapt some defaults/max values to be more realistic.
 1.8  06-Aug-1998  kleink branches: 1.8.12; 1.8.18; 1.8.22;
Like for NFSv2, add a pointer to the NFSv3 RFC, too.
 1.7  19-Oct-1997  fvdl * Implement optional 32 <-> 64 bit directory cookie translation. This uses
the directory cache as translation table. See nfs_subs.c for comments.
Makes the code a bit more complex to look at than I would have liked,
but doesn't affect the speed of the default behavior.
* Optimize caching behavior a bit when buffers are invalidated.
* Save some RPCs in readdir operations by not bothering if there is
a small amount left to do to fill the buffer. It'll be done in the
next RPC with a larger chunk anyway. Wastes a bit of buffer space
but is faster.
* Make n_vattr an allocated vattr struct. This avoids nfsnode bloat,
and is friendlier to the malloc routines.
 1.6  17-Oct-1997  fvdl NFS_SMALLFH should be a multiple of 4; since the nfsnode struct may grow
one more member, just make it the minimum (32) now.
 1.5  17-Oct-1997  christos nfstov_mode converts 32 bits now.
change NFS_SMALLFH from 44 to 38 to accommodate the mode_t and nlink_t changes.
 1.4  12-Oct-1997  fvdl Do negative lookup caching. Use a timestamp of the oldest negative cache
entry, so it can be checked against directory modification time for
validity.
 1.3  10-Oct-1997  fvdl * New directory entry caching system. Provides full caching of any
directory cookie that may be thrown back at us from userspace, up
to a size limit. Fixes double entry problem.
* Split flags for internal and external use in the NFS mount structure.
* Fix some buffer structure fields that weren're being used correctly.
* Fix missing directory cache inval call in nfs_open.
* Limit on NFS_DIRBLKSIZ no longer needed, bumped to the more reasonable
value of 8k.
* Various other things that I forget, all related to the dir caching
somehow, though.
 1.2  08-May-1997  mycroft branches: 1.2.4;
Pass the vnode type to vaccess(), and use it when checking VEXEC. Make sure
that the mode bits passed to vaccess() and returned by foo_getattr() contain
only permission bits.
 1.1  18-Feb-1996  fvdl branches: 1.1.1;
Bring in a merge of Rick Macklem's NFSv3 code from Lite2
 1.1.1.1  01-Mar-1998  fvdl Import 4.4BSD-Lite for reference
 1.2.4.1  14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.8.22.1  14-Dec-2000  he Pull up revision 1.9 (requested by fvdl):
Improve NFS performance, possibly with as much as 100% in
throughput. Please note: this implies a kernel interface change,
VOP_FSYNC gains two arguments.
 1.8.18.1  21-Dec-1999  wrstuden Initial commit of recent changes to make DEV_BSIZE go away.

Runs on i386, needs work on other arch's. Main kernel routines should be
fine, but a number of the stand programs need help.

cd, fd, ccd, wd, and sd have been updated. sd has been tested with non-512
byte block devices. vnd, raidframe, and lfs need work.

Non 2**n block support is automatic for LKM's and conditional for kernels
on "options NON_PO2_BLOCKS".
 1.8.12.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.9.24.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.9.24.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.9.24.2  18-Sep-2004  skrll Sync with HEAD.
 1.9.24.1  03-Aug-2004  skrll Sync with HEAD
 1.10.16.2  30-Dec-2006  yamt sync with head.
 1.10.16.1  21-Jun-2006  yamt sync with head.
 1.10.14.1  16-Dec-2005  tron Pull up following revision(s) (requested by christos in ticket #1055):
sys/nfs/nfsproto.h: revision 1.11
Add missing TIMEDOUT and IO errors.
 1.12.10.1  19-Apr-2006  elad sync with head.
 1.12.8.3  03-Sep-2006  yamt sync with head.
 1.12.8.2  11-Aug-2006  yamt sync with head
 1.12.8.1  01-Apr-2006  yamt sync with head.
 1.12.6.1  22-Apr-2006  simonb Sync with head.
 1.12.4.1  09-Sep-2006  rpaulo sync with head
 1.13.6.1  13-Jul-2006  gdamore Merge from HEAD.
 1.16.2.1  12-Jan-2007  ad Sync with head.

RSS XML Feed