freebsd-skq/sys/fs
Poul-Henning Kamp aa2f6ddc3f Reap more benefits from DEVFS:
List devfs_dirents rather than vnodes off their shared struct cdev, this
saves a pointer field in the vnode at the expense of a field in the
devfs_dirent.  There are often 100 times more vnodes so this is bargain.
In addition it makes it harder for people to try to do stypid things like
"finding the vnode from cdev".

Since DEVFS handles all VCHR nodes now, we can do the vnode related
cleanup in devfs_reclaim() instead of in dev_rel() and vgonel().
Similarly, we can do the struct cdev related cleanup in dev_rel()
instead of devfs_reclaim().

	rename idestroy_dev() to destroy_devl() for consistency.

	Add LIST_ENTRY de_alias to struct devfs_dirent.
	Remove v_specnext from struct vnode.
	Change si_hlist to si_alist in struct cdev.
	String new devfs vnodes' devfs_dirent on si_alist when
	we create them and take them off in devfs_reclaim().

	Fix devfs_revoke() accordingly.  Also don't clear fields
	devfs_reclaim() will clear when called from vgone();

	Let devfs_reclaim() call dev_rel() instead of vgonel().

	Move the usecount tracking from dev_rel() to devfs_reclaim(),
	and let dev_rel() take a struct cdev argument instead of vnode.

	Destroy SI_CHEAPCLONE devices in dev_rel() (instead of
	devfs_reclaim()) when they are no longer used.   (This
	should maybe happen in devfs_close() instead.)
2005-02-22 15:51:07 +00:00
..
cd9660 Conditionalize cd9660 chattiness regarding the nature of the file system 2005-02-18 10:49:55 +00:00
coda Replace the workaround for a deadlock bug in Coda with a different 2005-02-20 23:01:57 +00:00
deadfs Introduce vx_wait{l}() and use it instead of home-rolled versions. 2005-02-17 10:49:51 +00:00
devfs Reap more benefits from DEVFS: 2005-02-22 15:51:07 +00:00
fdescfs Make fdesc_root static 2005-02-10 12:09:15 +00:00
fifofs Whitespace in vop_vector{} initializations. 2005-01-13 18:59:48 +00:00
hpfs Make a bunch of malloc types static. 2005-02-10 12:02:37 +00:00
msdosfs Use vn_printf() instead of home-rolling. 2005-02-22 14:58:59 +00:00
ntfs make M_NTFSMNT and ntfs_calccfree() static 2005-02-10 12:09:49 +00:00
nullfs Introduce vx_wait{l}() and use it instead of home-rolled versions. 2005-02-17 10:49:51 +00:00
nwfs vp->v_id is a private field for the vfs namecache and it is a big mistake 2005-02-22 15:06:30 +00:00
portalfs Whitespace in vop_vector{} initializations. 2005-01-13 18:59:48 +00:00
procfs /* -> /*- for copyright notices, minor format tweaks as necessary 2005-01-06 18:10:42 +00:00
pseudofs Whitespace in vop_vector{} initializations. 2005-01-13 18:59:48 +00:00
smbfs vp->v_id is a private field for the vfs namecache and it is a big mistake 2005-02-22 15:06:30 +00:00
udf Remove basically unused root_vp pointer in udfmount. 2005-02-18 11:47:51 +00:00
umapfs Make filesystems get rid of their own vnodes vnode_pager object in 2005-01-28 14:42:17 +00:00
unionfs Deimplement vop_destroyvobject() 2005-02-07 08:23:36 +00:00