DragonFly-2.3.2.255.gca8d7 master sys/vfs/devfs devfs.h devfs_core.c devfs_helper.c devfs_vfsops.c devfs_vnops.c

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Aug 3 21:59:51 PDT 2009


commit ca8d7677b7d28d7b85590e5ad8572db1f3d96bf3
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Aug 3 21:23:30 2009 -0700

    DEVFS - Rollup
    
    * Use a dynamically sized dirent structure for devfs_nodes, saving a lot
      of memory.
    
    * Fix m_* lexical space overloading issues.
    
    * Fix issues with numerous uninitialized fields.
    
    * Completely initialize the devfs_node before making it visible to
      userland.
    
    * Properly invalidate negative entries in the namecache when adding new
      devfs nodes.  Also properly recycle disconnected vnodes.
    
    * Properly disassociate a devfs node from its vnode when freeing the
      devfs node.
    
    * Clarify device reference counts and fix a bug or two.
    
    * Get reprobes working.  Sniff writes and automatically reprobe the
      whole disk or a particular slice on close() if the MBR or label area
      is modified.
    
    * Fix memory leak when mounting/umounting devfs.
    
    Submitted-by: Alex Hornung <ahornung at gmail.com>

Summary of changes:
 sys/vfs/devfs/devfs.h        |   57 +++--
 sys/vfs/devfs/devfs_core.c   |  637 +++++++++++++++++++++++++----------------
 sys/vfs/devfs/devfs_helper.c |    2 +-
 sys/vfs/devfs/devfs_vfsops.c |   30 ++-
 sys/vfs/devfs/devfs_vnops.c  |   82 ++++--
 5 files changed, 500 insertions(+), 308 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ca8d7677b7d28d7b85590e5ad8572db1f3d96bf3


-- 
DragonFly BSD source repository





More information about the Commits mailing list