freebsd-skq/sys
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
..
alpha Staticized. 1998-02-13 07:34:52 +00:00
amd64 1) Use a more consistent page wait methodology. 1998-03-01 04:18:54 +00:00
compat Removed redundant test against MAXDSIZ (the rlimit test is stronger). 1998-02-25 05:33:06 +00:00
compile
conf Raise ncallout from NPROC + 16 to NPROC + 16 + MAXFILES. This shold 1998-02-27 19:58:29 +00:00
ddb Ensure that the linker sets for commands exist by putting a standard 1998-02-13 02:19:29 +00:00
dev Restored half of the ANSI semantic errors fix which was clobbered 1998-03-01 06:06:20 +00:00
fs The intent is to get rid of WILLRELE in vnode_if.src by making 1998-03-01 22:46:53 +00:00
geom Properly bzero() structures after they're returned from getccdbuf(). 1998-02-22 10:01:23 +00:00
gnu The intent is to get rid of WILLRELE in vnode_if.src by making 1998-03-01 22:46:53 +00:00
i386 First pre alpha Work In Progress commit of a IDE/ATAPI tape driver. 1998-03-01 18:57:29 +00:00
isa Prevent the TSC from being used on APM machines, we have no idea if 1998-02-28 21:16:13 +00:00
isofs/cd9660 The intent is to get rid of WILLRELE in vnode_if.src by making 1998-03-01 22:46:53 +00:00
kern The intent is to get rid of WILLRELE in vnode_if.src by making 1998-03-01 22:46:53 +00:00
libkern Make our v_usecount vnode reference count work identically to the 1998-01-06 05:26:17 +00:00
miscfs The intent is to get rid of WILLRELE in vnode_if.src by making 1998-03-01 22:46:53 +00:00
modules Don't add files handled by bsd.kmod.mk to CLEANFILES. Don't add never- 1998-02-25 01:40:55 +00:00
msdosfs The intent is to get rid of WILLRELE in vnode_if.src by making 1998-03-01 22:46:53 +00:00
net Fixed syntax error in previous commit. 1998-03-01 06:01:33 +00:00
netatalk Removed unused #includes. 1998-02-25 13:08:07 +00:00
netinet Make sure that you can only bind a more specific address when it is 1998-03-01 19:39:29 +00:00
netipx Staticize. 1998-02-09 06:11:36 +00:00
netkey polish the code. 1998-02-27 11:10:18 +00:00
netnatm Staticize. 1998-02-09 06:11:36 +00:00
netns Make INET a proper option. 1998-01-08 23:42:31 +00:00
nfs The intent is to get rid of WILLRELE in vnode_if.src by making 1998-03-01 22:46:53 +00:00
nfsclient The intent is to get rid of WILLRELE in vnode_if.src by making 1998-03-01 22:46:53 +00:00
nfsserver Staticize. 1998-02-09 06:11:36 +00:00
pc98 First pre alpha Work In Progress commit of a IDE/ATAPI tape driver. 1998-03-01 18:57:29 +00:00
pccard Removed unused #includes. 1998-02-25 05:58:50 +00:00
pci Undo the previous commit which was NOT for -current. 1998-03-01 17:29:25 +00:00
powerpc/include Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
rpc Resolve conflicts. 1997-05-28 04:45:15 +00:00
scsi Don't depend on "implicit int". 1998-02-20 13:37:40 +00:00
sys The intent is to get rid of WILLRELE in vnode_if.src by making 1998-03-01 22:46:53 +00:00
tools Use __inline instead of inline to prevent pedantic compiler warnings. 1997-12-19 23:25:16 +00:00
ufs The intent is to get rid of WILLRELE in vnode_if.src by making 1998-03-01 22:46:53 +00:00
vm 1) Use a more consistent page wait methodology. 1998-03-01 04:18:54 +00:00
Makefile Test for the existance of ${MACHINE}/boot before trying to build it. 1998-02-20 07:37:08 +00:00