gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] Re: readdir() optimization for ext3/Linux 2.6


From: Ollivier Robert
Subject: Re: [Gnu-arch-users] Re: readdir() optimization for ext3/Linux 2.6
Date: Mon, 6 Oct 2003 15:18:18 +0200
User-agent: Mutt/1.5.3i

According to Florian Weimer:
> We could call statfs() and check for the file system type, either for
> each directory or once for the project root.

I'd be against (and I think Tom too) putting any kind of FS-specific
optimisations in Arch. Checking the FS is not enough, under FreeBSD for
instance, we don't have hashed directories on-disk but with UFS_HASHDIR in
the kernel, an in-memory hash table is maintained.

This is clearly an OS-level thingy, not an application one.
-- 
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- address@hidden
Darwin snuadh.freenix.org Kernel Version 6.8: Wed Sep 10 15:20:55 PDT 2003




reply via email to

[Prev in Thread] Current Thread [Next in Thread]