All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Karpov <ext-denis.2.karpov@nokia.com>
To: ext Jan Kara <jack@suse.cz>
Cc: Nick Piggin <npiggin@suse.de>,
	"ext Jorge Boncompte [DTI2]" <jorge@dti2.net>,
	"Hunter Adrian (Nokia-D/Helsinki)" <adrian.hunter@nokia.com>,
	LKML <linux-kernel@vger.kernel.org>,
	"linux-ext4@vger.kernel.org" <linux-ext4@vger.kernel.org>
Subject: Re: Error testing ext3 on brd ramdisk
Date: Fri, 20 Mar 2009 15:35:11 +0200	[thread overview]
Message-ID: <20090320133511.GK21564@smart.research.nokia.com> (raw)
In-Reply-To: <20090318134202.GB11965@atrey.karlin.mff.cuni.cz>

[-- Attachment #1: Type: text/plain, Size: 852 bytes --]

On Wed, Mar 18, 2009 at 02:42:02PM +0100, ext Jan Kara wrote:
> > On Tue, Mar 17, 2009 at 11:40:19AM +0200, Denis Karpov wrote:
> > Jan's fixes are here:
> > http://marc.info/?l=linux-ext4&m=123731584711382&w=2
> > It would be interesting to try them, and if they don't work maybe
> > he's also interested so I cc'ed him.

Hello, 

I've re-run the tests (with Jan's patches and also Nick's "fs: new inode
i_state corruption fix" patch).

> > > In both cases I saw some complains from JBD/JBD2:
> > >  JBD: Detected IO errors while flushing file data on
>   Yes, my patches fix exactly this problem. So please try running with
> them. I'm not sure about that HTREE corruption you see during fsck. That
> seems to be a separate issue.

The issue with JBD seems to be gone. But problem with HTREE being corrupted
still remains (see attached logs).

Denis

[-- Attachment #2: ext3.htree.1.txt --]
[-- Type: text/plain, Size: 5241 bytes --]

-------------------------------------------------------------                   
Cycle 26                                                                        
Fri Mar 20 09:23:50 EDT 2009                                                    
Mounting                                                                        
[  907.443733] EXT3 FS on ram0, internal journal                                
[  907.448199] EXT3-fs: mounted filesystem with ordered data mode.              
[  907.448529] kjournald starting.  Commit interval 5 seconds                   
Removing old fsstress data                                                      
Starting fsstress                                                               
Sleeping 30 seconds                                                             
seed = 1237468251                                                               
Stopping fsstress                                                               
 5656 ttyS0    00:00:00 fsstress_ext3                                           
 5659 ttyS0    00:00:26 fsstress_ext3                                           
 5660 ttyS0    00:00:25 fsstress_ext3                                           
 5661 ttyS0    00:00:25 fsstress_ext3                                           
./brd_test_ext3.sh: line 37:  5656 Terminated              `pwd`/fsstress_ext3 -
d $TESTDIR/work -p 3 -l 0 -n 100000000                                          Unmounting                                                                      
Checking                                                                        
/dev/ram0: HTREE directory inode 82 has an invalid root node.                   
HTREE INDEX CLEARED.                                                            
/dev/ram0: Entry 'c17e8' in /work/p1/d2/d99 (82) has an incorrect filetype (was 
3, should be 1).                                                                
                                                                                
                                                                                
/dev/ram0: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.                         
        (i.e., without -a or -p options)                                        

# fsck.ext3 /dev/ram0                                 
e2fsck 1.41.3 (12-Oct-2008)                                                     
/dev/ram0 contains a file system with errors, check forced.                     
Pass 1: Checking inodes, blocks, and sizes                                      
Pass 2: Checking directory structure                                            
Entry 'c17e8' in /work/p1/d2/d99 (82) has an incorrect filetype (was 3, should b
e 1).                                                                           
Fix<y>? yes                                                                     
                                                                                
Entry 'fdab' in /work/p1/d2/d99 (82) has an incorrect filetype (was 1, should be
 7).                                                                            
Fix<y>? yes                                                                     
                                                                                
Entry 'c17fa' in /work/p1/d2/d99 (82) has an incorrect filetype (was 3, should be 1).                                                                           
Fix<y>? yes                                                                     
                                                                                
Entry 'da0' in /work/p1/d2/d99 (82) is a link to directory /work/p1/d2/d99/da0 (
238).                                                                           
Clear<y>? yes                                                                   
                                                                                
Pass 3: Checking directory connectivity                                         
Pass 4: Checking reference counts                                               
Inode 83 ref count is 9, should be 10.  Fix<y>? yes                             
                                                                                
Inode 94 ref count is 3, should be 4.  Fix<y>? yes                                                                                                              
Inode 99 ref count is 9, should be 10.  Fix<y>? yes                             
                                                                                ...

Inode 1018 ref count is 2, should be 3.  Fix<y>? yes                            
                                                                                
Inode 1024 ref count is 1, should be 2.  Fix<y>? yes                            
                                                                                
Pass 5: Checking group summary information                                      
                                                                                
/dev/ram0: ***** FILE SYSTEM WAS MODIFIED *****                                 
/dev/ram0: 1024/1024 files (12.0% non-contiguous), 4096/4096 blocks             

[-- Attachment #3: ext4.htree.1.txt --]
[-- Type: text/plain, Size: 2178 bytes --]

-------------------------------------------------------------
Cycle 5
Fri Mar 20 09:17:50 EDT 2009
Mounting
Removing old fsstress data
Starting fsstress
Sleeping 30 seconds
seed = 1237604365
Stopping fsstress
 5370 pts/0    00:00:00 fsstress_ext4
 5373 pts/0    00:00:19 fsstress_ext4
 5374 pts/0    00:00:20 fsstress_ext4
 5375 pts/0    00:00:19 fsstress_ext4
./brd_test_ext4.sh: line 36:  5370 Terminated              `pwd`/fsstress_ext4 -d $TESTDIR/work -p 3 -l 0 -n 100000000
Unmounting
Checking
/dev/ram1: HTREE directory inode 165 has an invalid root node.
HTREE INDEX CLEARED.
/dev/ram1: HTREE directory inode 272 has an invalid root node.
HTREE INDEX CLEARED.
/dev/ram1: Entry 'c363' in /work/p2/d2/de/d5f/d80/d616 (272) has an incorrect filetype (was 3, should be 1).


/dev/ram1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.
        (i.e., without -a or -p options)
# fsck.ext4 /dev/ram1
e2fsck 1.41.3 (12-Oct-2008)
/dev/ram1 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Entry 'c363' in /work/p2/d2/de/d5f/d80/d616 (272) has an incorrect filetype (was 3, should be 1).
Fix<y>? yes

Entry 'c10b5' in /work/p2/d2/de/d37 (165) has an incorrect filetype (was 3, should be 1).
Fix<y>? yes

Entry 'f164' in /work/p2/d2/de/d37 (165) has an incorrect filetype (was 1, should be 3).
Fix<y>? yes

Entry 'f104e' in /work/p2/d2/de/d37 (165) has an incorrect filetype (was 1, should be 2).
Fix<y>? yes

Entry 'deaa' in /work/p2/d2/de/d5f/d80/d616 (272) is a link to directory /work/p2/d2/de/d5f/d80/d616/deaa (819).
Clear<y>? yes

Entry 'd155a' in /work/p2/d2/de/d37 (165) is a link to directory /work/p2/d2/de/d37/d155a (434).
Clear<y>? yes

Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Inode 25 ref count is 6, should be 7.  Fix<y>? yes

Inode 48 ref count is 1, should be 2.  Fix<y>? yes

...

Inode 1003 ref count is 3, should be 4.  Fix<y>? yes

Inode 1004 ref count is 1, should be 2.  Fix<y>? yes

Pass 5: Checking group summary information

/dev/ram1: ***** FILE SYSTEM WAS MODIFIED *****
/dev/ram1: 1024/1024 files (20.5% non-contiguous), 4096/4096 blocks



  parent reply	other threads:[~2009-03-20 13:35 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-14 13:25 Error testing ext3 on brd ramdisk Adrian Hunter
2009-02-27 18:08 ` Jorge Boncompte [DTI2]
2009-02-28  5:58   ` Nick Piggin
2009-03-02 17:42     ` Jorge Boncompte [DTI2]
2009-03-05  6:55       ` Nick Piggin
2009-03-05  9:19         ` Jorge Boncompte [DTI2]
2009-03-05  9:46           ` Nick Piggin
2009-03-05 10:56             ` Jorge Boncompte [DTI2]
2009-03-05 12:12               ` Jorge Boncompte [DTI2]
2009-03-10 16:12                 ` Nick Piggin
2009-03-10 16:30                   ` Nick Piggin
2009-03-10 16:49                     ` Jorge Boncompte [DTI2]
2009-03-11  2:19                       ` Nick Piggin
2009-03-13 17:06                         ` Jorge Boncompte [DTI2]
2009-03-17  9:40                           ` Denis Karpov
2009-03-18 12:11                             ` Nick Piggin
2009-03-18 13:42                               ` Jan Kara
2009-03-20 12:24                                 ` Denis Karpov
2009-03-20 12:49                                   ` Denis Karpov
2009-03-20 12:49                                     ` Denis Karpov
2009-03-20 13:35                                 ` Denis Karpov [this message]
2009-03-05 10:45           ` Nick Piggin
2009-03-05 11:54             ` Jorge Boncompte [DTI2]
2009-03-06  7:47         ` Adrian Hunter
2009-03-10 11:03           ` Nick Piggin

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=20090320133511.GK21564@smart.research.nokia.com \
    --to=ext-denis.2.karpov@nokia.com \
    --cc=adrian.hunter@nokia.com \
    --cc=jack@suse.cz \
    --cc=jorge@dti2.net \
    --cc=linux-ext4@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=npiggin@suse.de \
    /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.