[PATCH] Allow watching of vnodes that reside on non-UFS filesystems
with kqueue
Suleiman Souhlal
ssouhlal at FreeBSD.org
Tue Apr 12 20:05:52 PDT 2005
Hello,
The patch at
http://people.freebsd.org/~ssouhlal/testing/kqueue-hooks-20050412.diff
allows watching vnodes on non-UFS filesystems with kqueue.
It moves the VN_KNOTE calls to pre and post VOP_* hooks. These hooks
are currently used for VFS lock debugging only, but I made them
unconditional. I think that they we could eventually move the
mac_check_vnode_* calls into them too, with a bit of work.
I would like to commit this to HEAD, if there are no objections.
Bye,
--
Suleiman Souhlal | ssouhlal at vt.edu
The FreeBSD Project | ssouhlal at FreeBSD.org
More information about the freebsd-current
mailing list