NetBSD/sys/miscfs/genfs
hannken 8c21bc6224 Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD.
- Not enabled by default. Needs kernel option FFS_SNAPSHOT.
- Change parameters of ffs_blkfree.
- Let the copy-on-write functions return an error so spec_strategy
    may fail if the copy-on-write fails.
- Change genfs_*lock*() to use vp->v_vnlock instead of &vp->v_lock.
- Add flag B_METAONLY to VOP_BALLOC to return indirect block buffer.
- Add a function ffs_checkfreefile needed for snapshot creation.
- Add special handling of snapshot files:
    Snapshots may not be opened for writing and the attributes are read-only.
    Use the mtime as the time this snapshot was taken.
    Deny mtime updates for snapshot files.
- Add function transferlockers to transfer any waiting processes from
  one lock to another.
- Add vfsop VFS_SNAPSHOT to take a snapshot and make it accessible through
  a vnode.
- Add snapshot support to ls, fsck_ffs and dump.

Welcome to 2.0F.

Approved by: Jason R. Thorpe <thorpej@netbsd.org>
2004-05-25 14:54:55 +00:00
..
genfs_node.h fix a bug of lfs. 2003-09-24 10:22:53 +00:00
genfs_vnops.c Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD. 2004-05-25 14:54:55 +00:00
genfs.h use former genfs_eopnotsupp_rele() as genfs_eopnotsupp(), so that vnodes 2003-04-10 21:53:32 +00:00
layer_extern.h First pass for some caddr_t removal and changes to get rid of it where we 2004-04-27 17:37:30 +00:00
layer_subr.c Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
layer_vfsops.c Sysctl descriptions under vfs subtree 2004-05-25 04:44:43 +00:00
layer_vnops.c Replace the statfs() family of system calls with statvfs(). 2004-04-21 01:05:31 +00:00
layer.h Move UCB-licensed code from 4-clause to 3-clause licence. 2003-08-07 16:26:28 +00:00
Makefile