Home | History | Annotate | Download | only in nfs
History log of /src/sys/nfs/files.nfs
RevisionDateAuthorComments
 1.15  17-May-2018  thorpej Default NFS mounts to using TCP transport instead of UDP.
PR kern/53166
 1.14  11-Oct-2014  uebayasi branches: 1.14.18;
Define filesystem attributes with vfs dependency.
 1.13  02-Mar-2010  pooka branches: 1.13.20;
don't create unused fs_nfs.h
 1.12  02-Mar-2010  pooka Get rid of dependency on fs_nfs.h, i.e. source modules with
conditional content depending on if the NFS client is wanted or
not. The server can now be made an independent module not depending
on the nfs client.

Tested with rump_nfs (standalone client), rump_nfsd (standalone
nfsd) and a qemu installation with both the client and the server.
 1.11  31-Dec-2009  christos branches: 1.11.2;
handle the nuidhash_max lossage differently
 1.10  31-Dec-2009  christos nuidhash_max is needed by sys_nfssvc
 1.9  19-Nov-2008  ad Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime
 1.8  27-Dec-2006  yamt branches: 1.8.40; 1.8.44; 1.8.50; 1.8.54;
remove nqnfs.
 1.7  11-Dec-2005  christos branches: 1.7.20;
merge ktrace-lwp.
 1.6  23-Sep-2005  jmmv Apply the NFS exports list rototill patch:

- Remove all NFS related stuff from file system specific code.
- Drop the vfs_checkexp hook and generalize it in the new nfs_check_export
function, thus removing redundancy from all file systems.
- Move all NFS export-related stuff from kern/vfs_subr.c to the new
file sys/nfs/nfs_export.c. The former was becoming large and its code
is always compiled, regardless of the build options. Using the latter,
the code is only compiled in when NFSSERVER is enabled. While doing this,
also make some functions in nfs_subs.c conditional to NFSSERVER.
- Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a
path and a set of export entries. At the moment it can only clear the
exports list or append entries, one by one, but it is done in a way that
allows setting the whole set of entries atomically in the future (see the
comment in mountd_set_exports_list or in doc/TODO).
- Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so
that it becomes file system agnostic. In fact, all this whole thing was
done to remove a 'XXX' block from this utility!
- Change the mount*, newfs and fsck* userland utilities to not deal with NFS
exports initialization; done internally by the kernel when initializing
the NFS support for each file system.
- Implement an interface for VFS (called VFS hooks) so that several kernel
subsystems can run arbitrary code upon receipt of specific VFS events.
At the moment, this only provides support for unmount and is used to
destroy NFS exports lists from the file systems being unmounted, though it
has room for extension.

Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments
and advice in the development of this patch.
 1.5  26-Feb-2005  perry branches: 1.5.4;
nuke trailing whitespace
 1.4  12-Dec-2004  bouyer branches: 1.4.2; 1.4.4;
The macro used for static server address is NFS_BOOTSTATIC_SERVADDR, not
NFS_BOOTSTATIC_SADDR. From Xen source distribution.
XXX NFS_BOOTSTATIC* doesn't seem to be documented anywhere ...
 1.3  11-Mar-2004  cl branches: 1.3.6;
Add static nfs boot configuration, from the kernel config file or from
a driver selectable callback function. This is used in the Xen port to
allow controlling the domain's network setup from the domain building
environment at domain creation (vs. having to maintain/change this on a
dhcp server). The Xen network driver parses a command line passed in
from the domain builder.
 1.2  23-Oct-2002  jdolecek branches: 1.2.6;
merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
 1.1  16-Apr-2002  thorpej branches: 1.1.6; 1.1.8;
Cleanup how file system configuration information is declared, grouping
related information together, with the file system code itself.

This is just low-hanging fruit -- more to come.
 1.1.8.3  30-Sep-2002  jdolecek add support for kevents to NFS
to detect file changes on server by other NFS clients, polling kernel thread
is used to periodically check for attribute changes of watched files;
the NFS server is only contacted when the vnode expires from local attrcache
(which takes 5-60 seconds currently), to keep network&CPU overhead low

the routine checking for remote changes is quite simplistic, but hopefully
doing it's job well enough
 1.1.8.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.8.1  16-Apr-2002  jdolecek file files.nfs was added on branch kqueue on 2002-06-23 17:51:46 +0000
 1.1.6.3  11-Nov-2002  nathanw Catch up to -current
 1.1.6.2  20-Jun-2002  nathanw Catch up to -current.
 1.1.6.1  16-Apr-2002  nathanw file files.nfs was added on branch nathanw_sa on 2002-06-20 03:50:00 +0000
 1.2.6.6  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.2.6.5  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.2.6.4  18-Dec-2004  skrll Sync with HEAD.
 1.2.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.2.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.2.6.1  03-Aug-2004  skrll Sync with HEAD
 1.3.6.1  06-Apr-2005  tron Pull up revision 1.4 (requested by bouyer in ticket #1036):
The macro used for static server address is NFS_BOOTSTATIC_SERVADDR, not
NFS_BOOTSTATIC_SADDR. From Xen source distribution.
XXX NFS_BOOTSTATIC* doesn't seem to be documented anywhere ...
 1.4.4.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.4.2.1  29-Apr-2005  kent sync with -current
 1.5.4.2  30-Dec-2006  yamt sync with head.
 1.5.4.1  21-Jun-2006  yamt sync with head.
 1.7.20.1  12-Jan-2007  ad Sync with head.
 1.8.54.1  19-Jan-2009  skrll Sync with HEAD.
 1.8.50.1  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.8.44.2  11-Mar-2010  yamt sync with head
 1.8.44.1  04-May-2009  yamt sync with head.
 1.8.40.1  17-Jan-2009  mjf Sync with HEAD.
 1.11.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.13.20.1  03-Dec-2017  jdolecek update from HEAD
 1.14.18.1  21-May-2018  pgoyette Sync with HEAD

RSS XML Feed