From owner-freebsd-hackers Mon Apr 19 9:14:23 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from sol (cs1-gw.cs.binghamton.edu [128.226.171.72]) by hub.freebsd.org (Postfix) with SMTP id 4E5E414F4A for ; Mon, 19 Apr 1999 09:14:17 -0700 (PDT) (envelope-from zzhang@cs.binghamton.edu) Received: from localhost (zzhang@localhost) by sol (SMI-8.6/8.6.9) with SMTP id MAA20391; Mon, 19 Apr 1999 12:01:35 -0400 Date: Mon, 19 Apr 1999 12:01:34 -0400 (EDT) From: Zhihui Zhang To: Matthew Dillon Cc: hackers@FreeBSD.ORG Subject: Re: Directories not VMIO cached at all! In-Reply-To: <199904171844.LAA75452@apollo.backplane.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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