Re: New version of the ext3 indexed-directory patch

From: Theodore Ts'o (
Date: Sun Sep 22 2002 - 15:00:40 EST

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

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:


                                                        - Ted
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 : Mon Sep 23 2002 - 22:00:36 EST