freebsd-dev/sys/nfs
Mike Smith 34bdbbd0de The intent is to get rid of WILLRELE in vnode_if.src by making
a complement to all ops that return a vpp, VFS_VRELE.  This is
initially only for file systems that implement the following ops
that do a WILLRELE:

	vop_create, vop_whiteout, vop_mknod, vop_remove, vop_link,
	vop_rename, vop_mkdir, vop_rmdir, vop_symlink

This is initial DNA that doesn't do anything yet.  VFS_VRELE is
implemented but not called.

A default vfs_vrele was created for fs implementations that use the
standard vnode management routines.

VFS_VRELE implementations were made for the following file systems:

Standard (vfs_vrele)
	ffs mfs nfs msdosfs devfs ext2fs

Custom
	union umapfs

Just EOPNOTSUPP
	fdesc procfs kernfs portal cd9660

These implementations may change as VOP changes are implemented.

In the next phase, in the vop implementations calls to vrele and the vrele
part of vput will be moved to the top layer vfs_vnops and made visible
to all layers.  vput will be replaced by unlock in these cases.  Unlocking
will still be done in the per fs layer but the refcount decrement will be
triggered at the top because it doesn't hurt to hold a vnode reference a
little longer.  This will have minimal impact on the structure of the
existing code.

This will only be done for vnode arguments that are released by the various
fs vop implementations.

Wider use of VFS_VRELE will likely require restructuring of the code.

Reviewed by:	phk, dyson, terry et. al.
Submitted by:	Michael Hancock <michaelh@cet.co.jp>
1998-03-01 22:46:53 +00:00
..
bootp_subr.c Staticize. 1998-02-09 06:11:36 +00:00
krpc_subr.c Removed unused #includes. 1997-10-28 15:59:26 +00:00
krpc.h Forward declare more structs that are used in prototypes here - don't 1998-02-01 20:34:07 +00:00
nfs_bio.c Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
nfs_common.c Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
nfs_common.h Forward declare some structs so that this file is more self-sufficient. 1998-02-03 21:52:02 +00:00
nfs_node.c Staticize. 1998-02-09 06:11:36 +00:00
nfs_nqlease.c Remove a bunch of variables which were unused both in GENERIC and LINT. 1997-11-07 08:53:44 +00:00
nfs_serv.c Staticize. 1998-02-09 06:11:36 +00:00
nfs_socket.c Removed unused #includes. 1997-10-28 15:59:26 +00:00
nfs_srvcache.c Staticize. 1998-02-09 06:11:36 +00:00
nfs_subs.c Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
nfs_syscalls.c Staticize. 1998-02-09 06:11:36 +00:00
nfs_vfsops.c The intent is to get rid of WILLRELE in vnode_if.src by making 1998-03-01 22:46:53 +00:00
nfs_vnops.c Back out DIAGNOSTIC changes. 1998-02-06 12:14:30 +00:00
nfs.h Moved declaration of `union nethostadr' outside of the KERNEL section, 1998-02-01 21:23:29 +00:00
nfsdiskless.h Removed more vestiges of config-time swap configuration. 1997-09-07 12:56:46 +00:00
nfsm_subs.h Forward declare some structs so that this file is more self-sufficient. 1998-02-03 21:52:02 +00:00
nfsmount.h Fix all areas of the system (or at least all those in LINT) to avoid storing 1997-08-16 19:16:27 +00:00
nfsnode.h Don't #include <nfs/nfs.h> in <nfs/nfs_node.h> if KERNEL is defined. 1997-10-28 14:06:25 +00:00
nfsproto.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
nfsrtt.h Various fixes from NetBSD: 1997-06-03 17:22:47 +00:00
nfsrvcache.h Added #include of <sys/queue.h> so that this file is more "self"-sufficent. 1998-02-03 22:19:35 +00:00
nfsv2.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
nqnfs.h Fix all areas of the system (or at least all those in LINT) to avoid storing 1997-08-16 19:16:27 +00:00
rpcv2.h Bring in some kernel bootp support. This removes the need for netboot 1997-05-11 18:05:39 +00:00
xdr_subs.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00