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

Suleiman Souhlal ssouhlal at FreeBSD.org
Wed Apr 13 18:45:26 PDT 2005


Hello,

On Apr 13, 2005, at 1:40 AM, John-Mark Gurney wrote:

> I would prefer to move the vfs_kqfilter and filt_vfs* functions either
> be moved to a vfs specific file, or be moved to their own file..  also,
> it appears that we lost support for extending of files... though I 
> can't
> confirm that...  Have you verified that extending still gets notified?

The patch at 
http://people.freebsd.org/~ssouhlal/testing/kqueue-hooks-20050413.diff 
addresses the things you mentioned and introduces a MNTK_NOKNOTE flag 
to mount->mnt_kern_flag so that a filesystem can override the sending 
of knotes from the VOP hooks, in case it needs to do something 
filesystem-specific.

I will also send this patch to jeff@ so that he can review the VFS 
changes.

--
Suleiman Souhlal     | ssouhlal at vt.edu
The FreeBSD Project  | ssouhlal at FreeBSD.org



More information about the freebsd-current mailing list