Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Aug 1998 06:32:58 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Jan Kara <jack@atrey.karlin.mff.cuni.cz>
Cc:        poipoi@famipow.com, freebsd-fs@FreeBSD.ORG, linux-fsdevel@vger.rutgers.edu
Subject:   Re: name cache wiping in readdir ? 
Message-ID:  <4012.903933178@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 23 Aug 1998 22:49:05 %2B0200." <19980823224905.35695@atrey.karlin.mff.cuni.cz> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <19980823224905.35695@atrey.karlin.mff.cuni.cz>, Jan Kara writes:
>  Hello.
>
>> 	hi
>> 
>> in ext2, each name read by readdir (called by getdents(2)) is sent in
>> the name cache.
>  OK. Looking in both ext2 and linux/fs/readdir.c getdents() code (kernel 2.1.117), I
>haven't found a place where the names would be sent to dcache. They are only stored
>in a special structure linux_dirent which has nothing to do with dcache.

Further the namecache in FreeBSD isn't finite size, it contains
anything put into it that might still be of any use, so sticking
it all in there at readdir time (which may or may not be a bad
idea) wouldn't flush out other stuff.

--
Poul-Henning Kamp             FreeBSD coreteam member
phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
"ttyv0" -- What UNIX calls a $20K state-of-the-art, 3D, hi-res color terminal

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-fs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4012.903933178>