[PATCH] Allow watching of vnodes that reside on non-UFS filesystems with kqueue

From: Suleiman Souhlal <ssouhlal_at_FreeBSD.org>
Date: Tue, 12 Apr 2005 23:05:45 -0400
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
Received on Wed Apr 13 2005 - 01:05:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:32 UTC