Date: Tue, 20 May 2008 19:05:44 +0000 (UTC) From: Stephan Uphoff <ups@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vm_object.c vm_object.h vnode_pager.c src/sys/ufs/ufs ufs_lookup.c Message-ID: <200805201905.m4KJ5iwO063462@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
ups 2008-05-20 19:05:44 UTC FreeBSD src repository Modified files: sys/vm vm_object.c vm_object.h vnode_pager.c sys/ufs/ufs ufs_lookup.c Log: Allow VM object creation in ufs_lookup. (If vfs.vmiodirenable is set) Directory IO without a VM object will store data in 'malloced' buffers severely limiting caching of the data. Without this change VM objects for directories are only created on an open() of the directory. TODO: Inline test if VM object already exists to avoid locking/function call overhead. Tested by: kris@ Reviewed by: jeff@ Reported by: David Filo Revision Changes Path 1.89 +10 -0 src/sys/ufs/ufs/ufs_lookup.c 1.394 +25 -11 src/sys/vm/vm_object.c 1.116 +1 -0 src/sys/vm/vm_object.h 1.241 +15 -7 src/sys/vm/vnode_pager.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805201905.m4KJ5iwO063462>