freebsd-nq/sys/miscfs
John Dyson 95e5e988e0 Make our v_usecount vnode reference count work identically to the
original BSD code.  The association between the vnode and the vm_object
no longer includes reference counts.  The major difference is that
vm_object's are no longer freed gratuitiously from the vnode, and so
once an object is created for the vnode, it will last as long as the
vnode does.

When a vnode object reference count is incremented, then the underlying
vnode reference count is incremented also.  The two "objects" are now
more intimately related, and so the interactions are now much less
complex.

When vnodes are now normally placed onto the free queue with an object still
attached.  The rundown of the object happens at vnode rundown time, and
happens with exactly the same filesystem semantics of the original VFS
code.  There is absolutely no need for vnode_pager_uncache and other
travesties like that anymore.

A side-effect of these changes is that SMP locking should be much simpler,
the I/O copyin/copyout optimizations work, NFS should be more ponderable,
and further work on layered filesystems should be less frustrating, because
of the totally coherent management of the vnode objects and vnodes.

Please be careful with your system while running this code, but I would
greatly appreciate feedback as soon a reasonably possible.
1998-01-06 05:26:17 +00:00
..
deadfs Add support for poll(2) on files. vop_nopoll() now returns POLLNVAL 1997-12-15 03:09:59 +00:00
devfs add copyrights 1998-01-02 07:31:07 +00:00
fdesc Removed unused #includes. The need for most of them went away with 1997-10-27 13:33:47 +00:00
fifofs Set the sender's low watermark to match the maximum size for atomic 1997-12-19 18:58:14 +00:00
kernfs Removed unused #includes. The need for most of them went away with 1997-10-27 13:33:47 +00:00
nullfs Fixed missing initialization of mp->mnt_stat. At least vm depends on 1998-01-01 08:28:26 +00:00
portal Fixed missing initialization of mp->mnt_stat. At least vm depends on 1998-01-01 08:28:26 +00:00
procfs Make our v_usecount vnode reference count work identically to the 1998-01-06 05:26:17 +00:00
specfs Make our v_usecount vnode reference count work identically to the 1998-01-06 05:26:17 +00:00
umapfs Fixed missing initialization of mp->mnt_stat. At least vm depends on 1998-01-01 08:28:26 +00:00
union Unspammed nested include of <vm/vm_zone.h>. 1997-12-27 02:56:39 +00:00