[RFC] mke2fs with DIR_INDEX, RESIZE_INODE by default

Andreas Dilger adilger at clusterfs.com
Sat Mar 18 08:43:02 UTC 2006


On Mar 17, 2006  14:36 -0800, Andrew Morton wrote:
> "Stephen C. Tweedie" <sct at redhat.com> wrote:
> > On Fri, 2006-03-17 at 00:53 -0700, Andreas Dilger wrote:
> > > I've been thinking recently that we should re-enable DIR_INDEX in mke2fs
> > > by default.  When it first came out, we had done this and were bitten by
> > > a few bugs in the code.  However, this code has been in heavy use for
> > > several thousand filesystem years in Lustre, if not elsewhere, and I'm
> > > inclined to think it is pretty safe these days.
> > 
> > I reckon they are safe enough for general use.
> 
> Who maintains the CONFIG_EXT3_INDEX code?

CFS made a bunch of fixes to it a few years ago, when it wasn't in either
the 2.4 or 2.6 kernels.  A few times in the intervening years there have
been problems fixed, but nothing since then.  The directory structure (or
lack thereof) of the Lustre storage servers (OSTs) is such that they will
always have tens to hundreds of thousands of files in each directory, so
the code is definitely well-tested.

We don't modify the htree code at all in either 2.6.9-RHEL or 2.6.12, only
2.6.5 SLES9 has a small patch for "." and ".." lookup.

Cheers, Andreas
--
Andreas Dilger
Principal Software Engineer
Cluster File Systems, Inc.




More information about the Ext3-users mailing list