All of lore.kernel.org
 help / color / mirror / Atom feed
From: Theodore Tso <tytso@mit.edu>
To: LIOU Payphone <lioupayphone@gmail.com>
Cc: linux-ext4@vger.kernel.org
Subject: Re: ask for help; hash-directory machanism of ext3 cannot work well
Date: Fri, 22 Jun 2007 02:20:00 -0400	[thread overview]
Message-ID: <20070622062000.GA17097@thunk.org> (raw)
In-Reply-To: <467b2b7b.0f98600a.1bbc.ffff9c53@mx.google.com>

On Fri, Jun 22, 2007 at 09:52:55AM +0800, LIOU Payphone wrote:
> 
> What makes me puzzled is there are two entries both  named  "3220" with ino
> "3350" were shown under "/mnt" when I "ls  -li  /mnt".

Hmm.  I still can't verify this.

Can you replicate the result?  If so, can you send me the output of
dumpe2fs?

> The version of kernel is 2.6.17-1.2142; and e2fsprogs-1.28. 

That looks like a vendor version of the kernel; what distribution are
you using?

E2fsprogs 1.28 is a frighteningly old version of e2fsprogs.  Did you
really mean 1.28?  Or 1.38?

> You know that we can set "s_def_hash_version" to be "DX_HASH_LEAGCY" in
> function  "main{}" of mke2fs.c 

Oh, so you were modifying your sources to set this variable?

> But I don't know why the latest version e2fsprogs-1.39 takes "DX_HASH_TEA"
> for default. Why "DX_HASH_LEAGCY" cannot be taken for default? Could you
> tell me the reason for it? Thanks.  :-)

Because DX_HASH_TEA is a better hash, and because it is keyed off of a
per-filesystem secret hash value stored in the superblock.

						- Ted

      reply	other threads:[~2007-06-22  6:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-21  8:40 ask for help; hash-directory machanism of ext3 cannot work well LIOU Payphone
2007-06-21 16:57 ` Theodore Tso
2007-06-22  1:52   ` LIOU Payphone
2007-06-22  6:20     ` Theodore Tso [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070622062000.GA17097@thunk.org \
    --to=tytso@mit.edu \
    --cc=linux-ext4@vger.kernel.org \
    --cc=lioupayphone@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.