linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Erik Mouw <J.A.K.Mouw@ITS.TUDelft.NL>
To: mason@suse.com
Cc: Linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: Re: reiserfs: still problems with tail conversion
Date: Sun, 25 Feb 2001 17:37:52 +0100	[thread overview]
Message-ID: <20010225173752.A866@arthur.ubicom.tudelft.nl> (raw)
In-Reply-To: <20010223221856.A24959@arthur.ubicom.tudelft.nl> <730960000.982966246@tiny> <20010223231949.D24959@arthur.ubicom.tudelft.nl>
In-Reply-To: <20010223231949.D24959@arthur.ubicom.tudelft.nl>; from J.A.K.Mouw@ITS.TUDelft.NL on Fri, Feb 23, 2001 at 11:19:49PM +0100

On Fri, Feb 23, 2001 at 11:19:49PM +0100, Erik Mouw wrote:
> On Fri, Feb 23, 2001 at 05:10:46PM -0500, Chris Mason wrote:
> > Many thanks for sending along a test program for reproducing.  But, it
> > doesn't seem to reproduce the problem here, how many times did you have to
> > run it to see the null bytes?  Do you remove the files between runs?
> 
> I got them immediately at the first run, which more or less was what I
> expected because reiserfs ate one of my mailfolders that way (only a
> CVS log folder, so nothing special was lost). You have to remove the
> files between runs, otherwise the same blocks seem to be allocated to
> the files.
> 
> I'll upgrade to linux-2.4.2 to see if it solves the problem. (was
> running 2.4.2-pre4 + your patch)

I upgraded to 2.4.2, and initially I couldn't reproduce the problem.
Besides the kernel version difference, another difference was the fact
that I did the 2.4.2. test on a freshly booted system, while the
2.4.2-pre4 test was done on a system with quite some VM pressure:
uptime a couple of days, running acroread, netscape, xemacs, couple of
gnome-terminals with large scroll back buffers (10000 lines).

John Adams told me that the data didn't hit the disk on his system and
that he had to add O_SYNC to the open()s. After I did that, I could
reproduce the problem on linux-2.4.2, with the strange results that the
bug is in *every* file with initial size >=1024 bytes.

John also told that his machine doesn't have swap, but I fail to see
why that could influence the reiserfs subsystem. Anyway, the bug seems
to appear when the data hits the disk, either by high VM pressure, or
by using O_SYNC.


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/

  parent reply	other threads:[~2001-02-25 16:41 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-23 21:18 reiserfs: still problems with tail conversion Erik Mouw
2001-02-23 22:10 ` Chris Mason
2001-02-23 22:19   ` Erik Mouw
2001-02-24  2:52     ` Michal Gornisiewicz
2001-02-24  4:13     ` Meino Christian Cramer
2001-02-24  8:18     ` thunder7
2001-02-24 19:27     ` Ken Moffat
2001-02-24 20:53       ` Alan Cox
2001-02-25  0:41         ` Chris Mason
2001-02-25  4:21           ` Bernd Eckenfels
2001-02-25  5:41             ` Mike Galbraith
2001-02-25 13:53             ` Alan Cox
2001-02-25 16:37     ` Erik Mouw [this message]
2001-02-25 17:32       ` Erik Mouw
2001-02-26  2:40         ` [PATCH] " Chris Mason
2001-02-26 11:07           ` Erik Mouw
2001-02-26 15:37             ` Erik Mouw
2001-02-26 22:46           ` Ken Moffat
2001-02-25 20:32       ` Chris Mason
2001-02-24  0:34   ` Oliver Teuber
     [not found] ` <01022318321302.01755@flash>
2001-02-24  8:40   ` John E. Adams
2001-02-24 15:45 ` Arjan Filius
2001-02-24 16:24   ` [lkml]Re: " thunder7
2001-02-24 17:28   ` Chris Mason

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=20010225173752.A866@arthur.ubicom.tudelft.nl \
    --to=j.a.k.mouw@its.tudelft.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mason@suse.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).