Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Aug 1998 08:44:27 +0200 (MET DST)
From:      poipoi@famipow.com
To:        phk@critter.freebsd.dk (Poul-Henning Kamp)
Cc:        jack@atrey.karlin.mff.cuni.cz, poipoi@famipow.com, freebsd-fs@FreeBSD.ORG, linux-fsdevel@vger.rutgers.edu
Subject:   Re: name cache wiping in readdir ?
Message-ID:  <19980824064427.651.qmail@hwi.poi.org>
In-Reply-To: <4012.903933178@critter.freebsd.dk> from Poul-Henning Kamp at "Aug 24, 98 06:32:58 am"

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.

your computer has a finite memory so your cache has a finite size :)
but ok your cache is no more fix size. but anyway it doesnt solve any
cache wiping problem. Whatever your cache size, you can always fill it
with useless data.

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?19980824064427.651.qmail>