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

From: Suleiman Souhlal (ssouhlal_at_FreeBSD.org)
Date: 04/14/05

  • Next message: Randy Bush: "/machine/pcb.h:70: error: field `pcb_fsd' has incomplete type"
    Date: Wed, 13 Apr 2005 21:45:17 -0400
    To: John-Mark Gurney <gurney_j@resnet.uoregon.edu>
    
    

    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@vt.edu
    The FreeBSD Project  | ssouhlal@FreeBSD.org
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Randy Bush: "/machine/pcb.h:70: error: field `pcb_fsd' has incomplete type"