All of lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugzilla.kernel.org
To: linux-ext4@vger.kernel.org
Subject: [Bug 13676] New: unmount after fsstress on a ramdisk causes orphan inode list corruption
Date: Mon, 29 Jun 2009 18:38:30 GMT	[thread overview]
Message-ID: <bug-13676-13602@http.bugzilla.kernel.org/> (raw)

http://bugzilla.kernel.org/show_bug.cgi?id=13676

           Summary: unmount after fsstress on a ramdisk causes orphan
                    inode list corruption
           Product: File System
           Version: 2.5
    Kernel Version: 2.6.30-6.fc12
          Platform: All
        OS/Version: Linux
              Tree: Fedora
            Status: NEW
          Severity: normal
          Priority: P1
         Component: ext3
        AssignedTo: fs_ext3@kernel-bugs.osdl.org
        ReportedBy: sandeen@redhat.com
        Regression: No


Created an attachment (id=22143)
 --> (http://bugzilla.kernel.org/attachment.cgi?id=22143)
debug messages & oops.

Running a test like this on 2.6.30-6.fc12 :

#!/bin/bash

mkfs.ext3 /dev/ram0

i=0
while (true); do
    i=`expr $i + 1`
    echo -------------------------------------------------------------
    echo Cycle $i
    date
    echo Mounting
    sleep 1
    mount -t ext3 /dev/ram0 /mnt/test || exit 1
    echo Removing old fsstress data
    rm -rf /mnt/test/work
    mkdir /mnt/test/work || exit 1
    echo Starting fsstress
    fsstress -d /mnt/test/work -p 3 -n 100000000 &
    echo Sleeping 30 seconds
    sleep 30
    echo Stopping fsstress
    while (ps -e | grep fsstress);do
        pkill fsstress
        sleep 1
    done
    echo Unmounting
    umount /mnt/test || exit 1
    echo Checking
    sleep 1
    e2fsck -fvp /dev/ram0 || exit 1
done

I get an assertion failure on the unmount, see attachment.

This testcase was originally reported at http://lkml.org/lkml/2008/11/14/121,
though the end result was different, in that case corruption was found.

-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

             reply	other threads:[~2009-06-29 18:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-29 18:38 bugzilla-daemon [this message]
2009-06-29 18:47 ` [Bug 13676] unmount after fsstress on a ramdisk causes orphan inode list corruption bugzilla-daemon

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=bug-13676-13602@http.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@bugzilla.kernel.org \
    --cc=linux-ext4@vger.kernel.org \
    /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.