From owner-freebsd-fs Sun Aug 23 13:52:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA20916 for freebsd-fs-outgoing; Sun, 23 Aug 1998 13:52:21 -0700 (PDT) (envelope-from owner-freebsd-fs@FreeBSD.ORG) Received: from atrey.karlin.mff.cuni.cz (atrey.karlin.mff.cuni.cz [195.113.31.123]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA20872 for ; Sun, 23 Aug 1998 13:52:09 -0700 (PDT) (envelope-from jack@atrey.karlin.mff.cuni.cz) Received: (from jack@localhost) by atrey.karlin.mff.cuni.cz (8.8.8/8.8.8) id WAA29320; Sun, 23 Aug 1998 22:49:05 +0200 Message-ID: <19980823224905.35695@atrey.karlin.mff.cuni.cz> Date: Sun, 23 Aug 1998 22:49:05 +0200 From: Jan Kara To: poipoi@famipow.com Cc: freebsd-fs@FreeBSD.ORG, linux-fsdevel@vger.rutgers.edu Subject: Re: name cache wiping in readdir ? References: <19980823082102.396.qmail@hwi.poi.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84 In-Reply-To: <19980823082102.396.qmail@hwi.poi.org>; from poipoi@famipow.com on Sun, Aug 23, 1998 at 10:21:01AM +0200 Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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. Nice hacking. Honza. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message