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"

    Relevant Pages

    • [PATCH] VFS: update documentation
      ... The Virtual File System (otherwise known as the Virtual Filesystem ... Switch) is the software layer in the kernel that provides the ... The VFS implements the open, stat, chmodand similar system ... struct file_system_type { ...
      (Linux-Kernel)
    • Re: [PATCH] VFS: update documentation
      ... The Virtual File System (otherwise known as the Virtual Filesystem ... Switch) is the software layer in the kernel that provides the ... The VFS implements the open, stat, chmodand similar system ... struct file_system_type { ...
      (Linux-Kernel)
    • [PATCH 1/2] VFS: update overview document
      ... -The Virtual File System (otherwise known as the Virtual Filesystem ... The pathname argument is used by the VFS to search through the ... -directory entry cache (dentry cache or "dcache"). ... -An individual dentry usually has a pointer to an inode. ...
      (Linux-Kernel)
    • [RFC][PATCH] VFS: update documentation (take #2)
      ... filesystem interface to userspace programs. ... These are taken from the inode data. ... owner: for internal VFS use: you should initialize this to NULL ... struct super_block *sb: the superblock structure. ...
      (Linux-Kernel)
    • Re: [RFC][PATCH] VFS: update documentation (take #2)
      ... > filesystem interface to userspace programs. ... > abstraction within the kernel which allows different filesystem ... > a pointer to the dentry and a set of file operation member functions. ... called when the VFS needs to get filesystem statistics. ...
      (Linux-Kernel)