Re: New version of the ext3 indexed-directory patch

Theodore Ts'o (tytso@mit.edu)
Sun, 22 Sep 2002 16:00:40 -0400


On Fri, Sep 20, 2002 at 10:06:04AM -0700, Andrew Morton wrote:
>
> Thanks; it's good that this is moving ahead. I'll update to this
> version in the -mm patchkit, so people can test it from there
> too.
>
> What is the status of e2fsprogs support for htree? Is everything covered?

Almost. E2fsck support is fully there. With e2fsprogs 1.28, you
still need to manually set up the dir_index feature flag to convert a
filesystme to use the directory indexing feature:

debugfs -w -R "features dir_index" /dev/hdXX
debugfs -w -R "ssv def_hash_version tea" /dev/hdXX
debugfs -w -R "ssv hash_seed random" /dev/hdXX

In the 1.29 release, mke2fs will create filesystems with the directory
indexing flag set by default, and tune2fs -O dir_index will do set up
the directory indexing flag and the default hash version
automatically.

There is also a bug in e2fsprogs 1.28 so that the -D option to e2fsck
(which optimizes all directories) has a 1 in 512 chance of corrupting
a directory, due to a fenceport error that escaped my testing. This
will be fixed in 1.29, which should be released very shortly.

Folks who want to play with the latest e2fsprogs get grab it here:

bk://thunk.org:5000

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