<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Ok, I try to summarize what I gathered from this and the earlier 
thread to help other "htree newbies"<br>
(Please correct my statements if necessary): <br>
<br>
- To use htree enabled ext - Filesystems in 2.4 kernels, you need <br>
 a) a htree enabled kernel; patch against 2.4.21 can be found at <br>
<br>
       <a class="moz-txt-link-freetext" href="http://thunk.org/tytso/linux/extfs-2.4-update/">http://thunk.org/tytso/linux/extfs-2.4-update/</a><br>
<br>
Curiously enough, I colud not apply this patch against a clean 2.4.27
tree - is there anything special to be aware of ??<br>
<br>
b) the current e2fsprogs which you can get from <br>
<br>
    <a class="moz-txt-link-freetext" href="http://e2fsprogs.sourceforge.net/">http://e2fsprogs.sourceforge.net/</a><br>
<br>
c) you have to enable dir_index on the filesystem with <br>
      <br>
<>    # umount /dev/xyz<br>
    # tune2fs -O dir_index /dev/xyz</><br>
    # e2fsck -fD /dev/xyz<br>
    # mount /dev/xyz<br>
<br>
d) The performance of the htree indexed filesystem depends on the usage
by the userspace programs; if they open all files in a directory after
gaining directory information with readdir() the performance is worse
than with a vanilla ext3 fs, at least if we have many files in that
directory [as it is the case with maildir structures].  This can be
cured by an additional userspace library which can be found in the
message<br>
<br>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/archives/ext3-users/2004-September/msg00025.html">https://www.redhat.com/archives/ext3-users/2004-September/msg00025.html</a><br>
<br>
e) One question remains open : Is the htree feature in its current
state considered stable enough to be used in production systems ? <br>
I read some reports on filesystem corruption, but most of these applied
to older versions of htree. Are there differences between the 2.6
implementation and the 2.4 backport ?<br>
<br>
<br>
Thank you for comments, <br>
<br>
Jakob Curdes<br>
<br>
<br>
<br>
<br>
</body>
</html>