Messages in this thread | | | Date | 22 Feb 2001 21:04:00 +0200 | From | (Kai Henningsen) | Subject | Re: [rfc] Near-constant time directory index for Ext2 |
| |
mj@suse.cz (Martin Mares) wrote on 22.02.01 in <20010222000755.A29061@atrey.karlin.mff.cuni.cz>:
> 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |