kernel - Make UFS ihash table per-mount
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 10 Dec 2012 22:55:59 +0000 (14:55 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 10 Dec 2012 22:55:59 +0000 (14:55 -0800)
commitf0accfd0be644e06d9ca3f5202198aeafcea60a9
tree08db49f656a2c27e1fe470b07ba76f33a5323d8d
parent3342365f56217707e40b417fc4775cd4f0f9cc3f
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
sys/vfs/ufs/ffs_alloc.c
sys/vfs/ufs/ffs_softdep.c
sys/vfs/ufs/ffs_vfsops.c
sys/vfs/ufs/ufs_extern.h
sys/vfs/ufs/ufs_ihash.c
sys/vfs/ufs/ufs_inode.c
sys/vfs/ufs/ufs_vfsops.c
sys/vfs/ufs/ufsmount.h