NetBSD/sys/fs/nfs
thorpej d6c967bb85 - Eliminate the global "boottime" variable, which was being accessed
without any synchronization against changes by e.g. clock_settime().
- Replace with new getbinboottime() / getnanoboottime() / getmicroboottime()
  functions (naming mirrors that of other time access functions in kern_tc.c).
  It returns the (maybe-converted) value of timebasebin, which also tracks
  our estimate of when the system was booted (i.e. the legacy "boottime" was
  redundant).

XXX There needs to be a lockless synchronization mechanism for reading
timebasebin, but this is a problem in kern_tc.c that pre-existed these
"boottime" changes.  At least now the problem is centralized in one location.
2020-01-02 15:42:26 +00:00
..
client
common - Eliminate the global "boottime" variable, which was being accessed 2020-01-02 15:42:26 +00:00
nlm
server
files.newnfs
nfs2netbsd.sh
README.newnfs

This is new nfs code (including nfsv4) imported from FreeBSD. It is
not even experimental yet - you don't want to be mucking with it.

The nfs code (both nfs and nfsd) that NetBSD currently uses is in
sys/nfs.


The following things are here:

   client/	- nfs client code, from sys/fs/nfsclient in freebsd
   server/	- nfsd server code, from sys/fs/nfsserver in freebsd
   nlm/		- kernel-side nfs lock manager, from sys/nlm in freebsd
   common/	- shared common code, from
			* sys/fs/nfs in freebsd
			* sys/nfs in freebsd
   files.newnfs - config goo
   nfs2netbsd.sh - script for preparing a cvs import from a freebsd tree

The FreeBSD shared common code contained two (different) nfsproto.h
and xdr_subs.h files. This is how they've been imported:

   sys/fs/nfs/nfsproto.h	->	common/nfsproto.h
   sys/fs/nfs/xdr_subs.h	->	common/xdr_subs.h
   sys/nfs/nfsproto.h		->	common/oldnfsproto.h
   sys/nfs/xdr_subs.h		->	common/old_xdr_subs.h