DragonFly BSD
DragonFly commits List (threaded) for 2012-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - Make UFS ihash table per-mount


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 10 Dec 2012 14:57:55 -0800 (PST)

commit f0accfd0be644e06d9ca3f5202198aeafcea60a9
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Mon Dec 10 14:55:59 2012 -0800

    kernel - Make UFS ihash table per-mount
    
    * Make the UFS ihash table per-mount.
    
    * Scale down the size of the hash table a bit so we have ~4 inodes per
      bucket instead of ~1.  Works fine for a single mount and this way
      multiple UFS mounts don't make [as] bloated kmalloc calls.
    
    Submitted-by: vsrinivas

Summary of changes:
 sys/vfs/ufs/ffs_alloc.c   |    8 +++-
 sys/vfs/ufs/ffs_softdep.c |    7 +++-
 sys/vfs/ufs/ffs_vfsops.c  |   24 +++++-------
 sys/vfs/ufs/ufs_extern.h  |   14 ++++----
 sys/vfs/ufs/ufs_ihash.c   |   84 +++++++++++++++++---------------------------
 sys/vfs/ufs/ufs_inode.c   |    5 ++-
 sys/vfs/ufs/ufs_vfsops.c  |    1 -
 sys/vfs/ufs/ufsmount.h    |   11 ++----
 8 files changed, 68 insertions(+), 86 deletions(-)

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


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]