All of lore.kernel.org
 help / color / mirror / Atom feed
From: Theodore Tso <tytso@mit.edu>
To: Solofo.Ramangalahy@bull.net
Cc: Jindrich Makovicka <makovick@gmail.com>, linux-ext4@vger.kernel.org
Subject: Re: data corruption with ext4 (from 2.6.27.4) exposed by rtorrent
Date: Wed, 5 Nov 2008 14:57:13 -0500	[thread overview]
Message-ID: <20081105195713.GB9266@mit.edu> (raw)
In-Reply-To: <18705.63392.489856.682976@frecb006361.adech.frec.bull.fr>

On Wed, Nov 05, 2008 at 08:44:32PM +0100, Solofo.Ramangalahy@bull.net wrote:
> Hi Jindrich,
> 
> Jindrich Makovicka writes:
>  > The following testcase was used to trigger the infamous MAP_SHARED
>  > dirty flag bug. Maybe it could be of some help here too:
>  > 
>  > http://lkml.org/lkml/2006/12/27/180
> 
> Thanks for remembering!
> 
> The test case triggers corruption with 2.6.28-rc3 + ext4 patch queue:
> . bunch of errors like
>   Chunk 71637 corrupted (0-1339)  (2756-4095)
>   Expected 213, got 0
>   with default mount.
> . nodelalloc is ok.

It's useful to know that you were able to trigger corruption using the
test case.

How much memory did you have on your system, and how much memory was
free when you ran the test case?  I wasn't able to reproduce it using
the test case, but I have 4 gigs of memory.  One theory which is
currently being kicked around is that it is a combination of delayed
allocation and memory pressure.  Disabling delayed allocation by
mounting with -o nodelalloc does seem to make the problem go away.
The next question is whether the problem is more easily triggerred
when under memory pressure.

						- Ted

  reply	other threads:[~2008-11-05 19:57 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-03 12:42 data corruption with ext4 (from 2.6.27.4) exposed by rtorrent Roc Valles
2008-11-03 13:40 ` Theodore Tso
2008-11-03 13:47   ` Cryptooctoploid
2008-11-03 14:09   ` Roc Valles
2008-11-03 15:34   ` Cryptooctoploid
2008-11-03 15:51     ` Jindrich Makovicka
2008-11-05 19:44       ` Solofo.Ramangalahy
2008-11-05 19:57         ` Theodore Tso [this message]
2008-11-05 20:09           ` Solofo.Ramangalahy
2008-11-05 20:21             ` Solofo.Ramangalahy
2008-11-05 20:42               ` Theodore Tso
2008-11-05 20:52                 ` Solofo.Ramangalahy
2008-11-06 10:15                 ` Aneesh Kumar K.V
2008-11-06 10:36                   ` Solofo.Ramangalahy
2008-11-06 13:47                     ` Solofo.Ramangalahy
2008-11-06 13:59         ` Aneesh Kumar K.V
2008-11-05 13:34   ` Cryptooctoploid
2008-11-05 16:16     ` Eric Sandeen
2008-11-05 17:25     ` Theodore Tso
2008-11-05 20:13       ` Cryptooctoploid
2008-11-06  9:00       ` Roc Valles
2008-11-06  9:31       ` Cryptooctoploid

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=20081105195713.GB9266@mit.edu \
    --to=tytso@mit.edu \
    --cc=Solofo.Ramangalahy@bull.net \
    --cc=linux-ext4@vger.kernel.org \
    --cc=makovick@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.