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

Alexander Kabaev kabaev at gmail.com
Tue Apr 12 20:28:45 PDT 2005


On Tue, 12 Apr 2005 23:05:45 -0400
Suleiman Souhlal <ssouhlal at FreeBSD.org> wrote:

> 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.

I for one am not thrilled by all the hooks being made unconditional and 
being inserted right into the middle of critical path for the benefit of
rarely used feature.
-- 
Alexander Kabaev


More information about the freebsd-current mailing list