freebsd-dev/sys/nfs
Kirk McKusick f2a2857bb3 Add snapshots to the fast filesystem. Most of the changes support
the gating of system calls that cause modifications to the underlying
filesystem. The gating can be enabled by any filesystem that needs
to consistently suspend operations by adding the vop_stdgetwritemount
to their set of vnops. Once gating is enabled, the function
vfs_write_suspend stops all new write operations to a filesystem,
allows any filesystem modifying system calls already in progress
to complete, then sync's the filesystem to disk and returns. The
function vfs_write_resume allows the suspended write operations to
begin again. Gating is not added by default for all filesystems as
for SMP systems it adds two extra locks to such critical kernel
paths as the write system call. Thus, gating should only be added
as needed.

Details on the use and current status of snapshots in FFS can be
found in /sys/ufs/ffs/README.snapshot so for brevity and timelyness
is not included here. Unless and until you create a snapshot file,
these changes should have no effect on your system (famous last words).
2000-07-11 22:07:57 +00:00
..
bootp_subr.c Correctly set the Maximum DHCP Message Size. bootpd now works 2000-06-13 09:32:09 +00:00
krpc_subr.c $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
krpc.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nfs_bio.c Separate the struct bio related stuff out of <sys/buf.h> into 2000-05-05 09:59:14 +00:00
nfs_common.c Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
nfs_common.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nfs_node.c Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
nfs_nqlease.c Clean up some loose ends in the network code, including the X.25 and ISO 2000-02-13 03:32:07 +00:00
nfs_serv.c Add snapshots to the fast filesystem. Most of the changes support 2000-07-11 22:07:57 +00:00
nfs_socket.c Add a sysctl to specify the amount of UDP receive space NFS should 2000-03-27 21:38:35 +00:00
nfs_srvcache.c Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
nfs_subs.c Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
nfs_syscalls.c Separate the struct bio related stuff out of <sys/buf.h> into 2000-05-05 09:59:14 +00:00
nfs_vfsops.c Enhance reassignbuf(). When a buffer cannot be time-optimally inserted 2000-01-05 05:11:37 +00:00
nfs_vnops.c Separate the struct bio related stuff out of <sys/buf.h> into 2000-05-05 09:59:14 +00:00
nfs.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
nfsdiskless.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nfsm_subs.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nfsmount.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
nfsnode.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
nfsproto.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nfsrtt.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nfsrvcache.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
nfsv2.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
nqnfs.h Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
rpcv2.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
xdr_subs.h $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00