lkml.org 
[lkml]   [2001]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[UPDATE] Directory index for ext2
Date
Changes:

- Freshen to 2.4.5
- EXT2_FEATURE_COMPAT_DIR_INDEX flag finalized
- Break up ext2_add_entry for aesthetic reasons (Al Viro)
- Handle more than 64K directories per directory (Andreas Dilger)
- Bug fix: new inode no longer inherits index flag (Andreas Dilger)
- Bug fix: correct handling of error on index create (Al Viro)

To-Do:

- More factoring of ext2_add_entry
- Fall back to linear search in case of corrupted index
- Finalize hash function

The patch is available at:

http://nl.linux.org/~phillips/htree/dx.pcache-2.4.5

It requires Al Viro's directory-in-pcache patch:

ftp://ftp.math.psu.edu/pub/viro/ext2-dir-patch-S5.gz

To apply:

cd mysource/linux
zcat ext2-dir-patch-S5.gz | patch -p1
cat dx.pcache-2.4.5 | patch -p0

To create an indexed directory:

mount /dev/hdxxx /test -o index
mkdir /test/foo

No known bugs, please test, thanks in advance.

--
Daniel

-
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/

\
 
 \ /
  Last update: 2005-03-22 12:54    [W:1.768 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site