cvs commit: src/sys/gnu/ext2fs ext2_vnops.c src/sys/kern
vfs_default.c vfs_subr.c vnode_if.src src/sys/sys event.h mount.h
vnode.h src/sys/tools vnode_if.awk src/sys/ufs/ffs ffs_vnops.c
src/sys/ufs/ufs ufs_vnops.c
Suleiman Souhlal
ssouhlal at FreeBSD.org
Thu Jun 9 20:20:31 GMT 2005
ssouhlal 2005-06-09 20:20:31 UTC
FreeBSD src repository
Modified files:
sys/gnu/ext2fs ext2_vnops.c
sys/kern vfs_default.c vfs_subr.c vnode_if.src
sys/sys event.h mount.h vnode.h
sys/tools vnode_if.awk
sys/ufs/ffs ffs_vnops.c
sys/ufs/ufs ufs_vnops.c
Log:
Allow EVFILT_VNODE events to work on every filesystem type, not just
UFS by:
- Making the pre and post hooks for the VOP functions work even when
DEBUG_VFS_LOCKS is not defined.
- Moving the KNOTE activations into the corresponding VOP hooks.
- Creating a MNTK_NOKNOTE flag for the mnt_kern_flag field of struct
mount that permits filesystems to disable the new behavior.
- Creating a default VOP_KQFILTER function: vfs_kqfilter()
My benchmarks have not revealed any performance degradation.
Reviewed by: jeff, bde
Approved by: rwatson, jmg (kqueue changes), grehan (mentor)
Revision Changes Path
1.101 +0 -1 src/sys/gnu/ext2fs/ext2_vnops.c
1.126 +8 -0 src/sys/kern/vfs_default.c
1.626 +232 -1 src/sys/kern/vfs_subr.c
1.78 +11 -0 src/sys/kern/vnode_if.src
1.31 +2 -0 src/sys/sys/event.h
1.196 +8 -0 src/sys/sys/mount.h
1.301 +49 -12 src/sys/sys/vnode.h
1.50 +6 -9 src/sys/tools/vnode_if.awk
1.157 +1 -5 src/sys/ufs/ffs/ffs_vnops.c
1.271 +1 -124 src/sys/ufs/ufs/ufs_vnops.c
More information about the cvs-src
mailing list