Re: [rfc] Near-constant time directory index for Ext2

From: Kai Henningsen (
Date: Thu Feb 22 2001 - 14:04:00 EST (Martin Mares) wrote on 22.02.01 in <>:

> One could avoid this, but it would mean designing the whole filesystem in a
> completely different way -- merge all directories to a single gigantic
> hash table and use (directory ID,file name) as a key, but we were originally
> talking about extending ext2, so such massive changes are out of question
> and your log n access argument is right.

s/hash table/btree/ and you have just described the Macintosh HFS file
system. (Incidentally, it stores file extent indices in a similar manner,
with key = (file id, fork, offset).)

MfG Kai
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Fri Feb 23 2001 - 21:00:28 EST