Date: Mon, 19 Apr 1999 12:01:34 -0400 (EDT) From: Zhihui Zhang <zzhang@cs.binghamton.edu> To: Matthew Dillon <dillon@apollo.backplane.com> Cc: hackers@FreeBSD.ORG Subject: Re: Directories not VMIO cached at all! Message-ID: <Pine.GSO.3.96.990419115249.20311A-100000@sol.cs.binghamton.edu> In-Reply-To: <199904171844.LAA75452@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I tried to apply your patch to FreeBSD 2.2.8. I only made changes to file
vfs_subr.c (vfs_object_create()) and vfs_vnops.c (vn_open()) because I can
not find the corresponding places in file vfs_lookup.c and vfs_syscalls.c.
After this, I made a new kernel and reboot. I issue the following
command:
# find /usr/src -name "*.?" -exec grep "dummy" /dev/null {} \;
It takes about five minutes as it did before I modified the kernel and
reboot. So obviously the modifications I made are not enough. I should
change something else to really use it. Can you please tell me where to
look at in 2.2.8? Somewhere in namei()?
I believe your idea is a good one because it may help to solve the
directory layout problem when you do depth-first search of directories (as
in find?). The reason I need it now is that each time I spend 5 minutes
to search for a symbol in the source code tree under /usr/src.
Thanks for your help.
-Zhihui
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.990419115249.20311A-100000>
