linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andreas Dilger <adilger@sun.com>
To: Nick Dokos <nicholas.dokos@hp.com>
Cc: linux-ext4@vger.kernel.org
Subject: Re: e2fsprogs w/64-bit patches: make check gets one failure
Date: Thu, 12 Mar 2009 14:36:45 -0600	[thread overview]
Message-ID: <20090312203645.GI3199@webber.adilger.int> (raw)
In-Reply-To: <12502.1236867091@gamaville.dokosmarshall.org>

On Mar 12, 2009  10:11 -0400, Nick Dokos wrote:
> Andreas Dilger <adilger@sun.com> wrote:
> > On Mar 11, 2009  14:53 -0400, Nick Dokos wrote:
> > > I followed the workflow that Ted described in the following message:
> > > 
> > >    http://marc.info/?l=linux-ext4&m=123367642710241&w=2
> > > 
> > > with the patch series from git://github.com/tytso/e2fsprogs-64bit.git
> > > 
> > > With all the patches in the series file applied, make check gives
> > > me the following error:
> > > 
> > > ...
> > > f_h_reindex: reindex HTREE Directory with different hash seed: failed
> > > ...
> > > 100 tests succeeded	1 tests failed
> > > make[1]: *** [check] Error 1
> > > make[1]: Leaving directory `/home/nick/src/e2fsprogs/standard/build/tests'
> > > make: *** [check-recursive] Error 1
> > 
> > Including the content of the tests/f_h_reindex.failed file might make
> > the problem obvious.  Possibly it is just some change in the output
> > format that is causing expect to fail.
> > 
> 
> Here's the f_h_reindex.failed file:
> 
> --- ../../tests/f_h_reindex/expect.1	2009-03-09 17:14:20.000000000 +0000
> +++ f_h_reindex.1.log	2009-03-12 14:18:05.000000000 +0000
> @@ -954,5 +954,5 @@
>  Pass 5: Checking group summary information
>  
>  test_filesys: ***** FILE SYSTEM WAS MODIFIED *****
> -test_filesys: 30514/32000 files (0.0% non-contiguous), 5669/8000 blocks
> +test_filesys: 30514/32000 files (0.0% non-contiguous), 5560/8000 blocks
>  Exit status is 1
> --- ../../tests/f_h_reindex/expect.2	2009-03-09 17:14:20.000000000 +0000
> +++ f_h_reindex.2.log	2009-03-12 14:18:05.000000000 +0000
> @@ -1,7 +1,10823 @@
>  Pass 1: Checking inodes, blocks, and sizes
> +Inode 24001, i_size is 596992, should be 485376.  Fix? yes

This looks like it is causing an inode to be truncated.

>  Pass 2: Checking directory structure
> +Problem in HTREE directory inode 24001 (/test2): bad block number 578.
> +Clear HTree index? yes

Supporting evidence that this is a directory being truncated.

>  Pass 3: Checking directory connectivity
> +Pass 3A: Optimizing directories
>  Pass 4: Checking reference counts
> +Unattached zero-length inode 12.  Clear? yes
> +
> +Unattached zero-length inode 13.  Clear? yes

These are all of the inodes that were lost from the truncated directory.

This seems like a non-trivial failure and needs to be investigated.
Posting the offending patch (assuming you can pass "make check" before
the patch, and fail afterward) would get more eyes on the subject.

Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.


  parent reply	other threads:[~2009-03-12 20:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-11 18:53 e2fsprogs w/64-bit patches: make check gets one failure Nick Dokos
2009-03-12  4:02 ` Andreas Dilger
     [not found]   ` <12502.1236867091@gamaville.dokosmarshall.org>
2009-03-12 20:36     ` Andreas Dilger [this message]
2009-03-12 21:42       ` Nick Dokos
2009-03-13 22:38         ` Andreas Dilger

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=20090312203645.GI3199@webber.adilger.int \
    --to=adilger@sun.com \
    --cc=linux-ext4@vger.kernel.org \
    --cc=nicholas.dokos@hp.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).