cvs commit: src/sys/vm vm_object.c vm_object.h vnode_pager.c
src/sys/ufs/ufs ufs_lookup.c
Stephan Uphoff
ups at FreeBSD.org
Tue May 20 19:05:44 UTC 2008
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
More information about the cvs-src
mailing list