Martin Mares wrote: > > Hello! > > > True. Note too, though, that on a filesystem (which we are, after all, > > talking about), if you assume a large linear space you have to create a > > file, which means you need to multiply the cost of all random-access > > operations with O(log n). > > 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. > It would still be tricky since you have to have actual files in the filesystem as well. -hpa -- <[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Re: [rfc] Near-constant time directory index for Ext2 Martin Mares
- Re: [rfc] Near-constant time directory index for Ex... Davide Libenzi
- Re: [rfc] Near-constant time directory index fo... Martin Mares
- Re: [rfc] Near-constant time directory inde... Davide Libenzi
- Re: [rfc] Near-constant time directory index for Ex... H. Peter Anvin
- Re: [rfc] Near-constant time directory index fo... Martin Mares
- Re: [rfc] Near-constant time directory inde... H. Peter Anvin
- Re: [rfc] Near-constant time directory inde... Martin Mares
- Re: [rfc] Near-constant time directory inde... H. Peter Anvin
- Re: [rfc] Near-constant time directory inde... Martin Mares
- Re: [rfc] Near-constant time directory inde... H. Peter Anvin
- Re: [rfc] Near-constant time directory inde... H. Peter Anvin
- Re: [rfc] Near-constant time directory inde... Daniel Phillips
- Re: [rfc] Near-constant time directory inde... H. Peter Anvin
- Re: [rfc] Near-constant time directory inde... Andreas Dilger
- Re: [rfc] Near-constant time directory inde... H. Peter Anvin
- Re: [rfc] Near-constant time directory inde... Daniel Phillips
- Re: [rfc] Near-constant time directory inde... H. Peter Anvin
- Re: [rfc] Near-constant time directory inde... Alan Cox
- Re: [rfc] Near-constant time directory inde... Felix von Leitner
- Re: [rfc] Near-constant time directory inde... H. Peter Anvin