freebsd-dev/sys/cddl/contrib/opensolaris/uts/common/fs
Pawel Jakub Dawidek a3c8c2e60f Reduce the limit of vnodes on i386 when ZFS is loaded to 3/4 of the original
value, so we don't run out of KVA. The default vnodes limit fits better for
UFS, but ZFS allocated more file system specific memory for a vnode than UFS.

Don't touch vnodes limit if we detect it was tuned by system administrator
and restore original value when ZFS is unloaded.

This isn't final fix, but before we implement something better, this will
help to stabilize ZFS under heavy load on i386.

Approved by:	re (bmah)
2007-09-10 19:58:14 +00:00
..
zfs Reduce the limit of vnodes on i386 when ZFS is loaded to 3/4 of the original 2007-09-10 19:58:14 +00:00
gfs.c All objects we create using GFS are directories, so initialize d_type 2007-05-23 21:27:47 +00:00