freebsd-skq/sys/fs
mckusick a3d0c189ea 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
..
cd9660 Fix memory leakage on module unload. 2000-06-29 01:19:12 +00:00
coda Remove 42 unneeded #include <sys/ioccom.h>. 2000-05-03 07:31:38 +00:00
deadfs Remove unneeded <sys/buf.h> includes. 2000-04-18 15:15:39 +00:00
fdescfs Add snapshots to the fast filesystem. Most of the changes support 2000-07-11 22:07:57 +00:00
fifofs Add snapshots to the fast filesystem. Most of the changes support 2000-07-11 22:07:57 +00:00
hpfs Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
msdosfs Fix memory leakage on module unload. 2000-06-29 01:12:47 +00:00
ntfs Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
nullfs Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
nwfs Previous commit changing SYSCTL_HANDLER_ARGS violated KNF. 2000-07-04 11:25:35 +00:00
portalfs Change #ifdef KERNEL to #ifdef _KERNEL in the public headers. "KERNEL" 1999-12-29 05:07:58 +00:00
procfs Remove unneeded #include <sys/kernel.h> 2000-04-29 15:36:14 +00:00
specfs Add snapshots to the fast filesystem. Most of the changes support 2000-07-11 22:07:57 +00:00
umapfs Back out the previous change to the queue(3) interface. 2000-05-26 02:09:24 +00:00
unionfs Add snapshots to the fast filesystem. Most of the changes support 2000-07-11 22:07:57 +00:00