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

From: Alexander Kabaev <kabaev_at_gmail.com>
Date: Tue, 12 Apr 2005 23:28:41 -0400
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
Received on Wed Apr 13 2005 - 01:28:44 UTC

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