public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Fengguang Wu <wfg@mail.ustc.edu.cn>
Cc: Peter Zijlstra <peterz@infradead.org>,
	jplatte@naasa.net, linux-kernel@vger.kernel.org,
	"linux-ext4@vger.kernel.org" <linux-ext4@vger.kernel.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: regression: 100% io-wait with 2.6.24-rcX
Date: Tue, 15 Jan 2008 22:42:13 +0100	[thread overview]
Message-ID: <20080115214212.GB32428@elte.hu> (raw)
In-Reply-To: <E1JEOmD-0001Ap-U7@localhost.localdomain>


* Fengguang Wu <wfg@mail.ustc.edu.cn> wrote:

> On Mon, Jan 14, 2008 at 12:41:26PM +0100, Peter Zijlstra wrote:
> > 
> > On Mon, 2008-01-14 at 12:30 +0100, Joerg Platte wrote:
> > > Am Montag, 14. Januar 2008 schrieb Fengguang Wu:
> > > 
> > > > Joerg, this patch fixed the bug for me :-)
> > > 
> > > Fengguang, congratulations, I can confirm that your patch fixed the bug! With 
> > > previous kernels the bug showed up after each reboot. Now, when booting the 
> > > patched kernel everything is fine and there is no longer any suspicious 
> > > iowait!
> > > 
> > > Do you have an idea why this problem appeared in 2.6.24? Did somebody change 
> > > the ext2 code or is it related to the changes in the scheduler?
> > 
> > It was Fengguang who changed the inode writeback code, and I guess the
> > new and improved code was less able do deal with these funny corner
> > cases. But he has been very good in tracking them down and solving them,
> > kudos to him for that work!
> 
> Thank you.
> 
> In particular the bug is triggered by the patch named:
>         "writeback: introduce writeback_control.more_io to indicate more io"
> That patch means to speed up writeback, but unfortunately its
> aggressiveness has disclosed bugs in reiserfs, jfs and now ext2.
> 
> Linus, given the number of bugs it triggered, I'd recommend revert 
> this patch(git commit 2e6883bdf49abd0e7f0d9b6297fc3be7ebb2250b). Let's 
> push it back to -mm tree for more testings?

i dont think a revert at this stage is a good idea and i'm not sure 
pushing it back into -mm would really expose more of these bugs. And 
these are real bugs in filesystems - bugs which we want to see fixed 
anyway. You are also tracking down those bugs very fast.

[ perhaps, if it's possible technically (and if it is clean enough), you
  might want to offer a runtime debug tunable that can be used to switch
  off the new aspects of your code. That would speed up testing, in case
  anyone suspects the new writeback code. ]

	Ingo

  parent reply	other threads:[~2008-01-15 21:42 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200801071151.11200.lists@naasa.net>
     [not found] ` <200801130905.44855.jplatte@naasa.net>
     [not found]   ` <400212488.11031@ustc.edu.cn>
     [not found]     ` <200801131049.33111.jplatte@naasa.net>
     [not found]       ` <E1JE1Uz-0002w5-6z@localhost.localdomain>
2008-01-13 11:59         ` regression: 100% io-wait with 2.6.24-rcX Fengguang Wu
2008-01-13 11:59         ` Fengguang Wu
     [not found]       ` <20080113115933.GA11045@mail.ustc.edu.cn>
     [not found]         ` <E1JEGPH-0001uw-Df@localhost.localdomain>
2008-01-14  3:54           ` Fengguang Wu
2008-01-14  3:54           ` Fengguang Wu
     [not found]         ` <20080114035439.GA7330@mail.ustc.edu.cn>
     [not found]           ` <E1JEM2I-00010S-5U@localhost.localdomain>
2008-01-14  9:55             ` Fengguang Wu
2008-01-14 11:30               ` Joerg Platte
2008-01-14 11:41                 ` Peter Zijlstra
     [not found]                   ` <E1JEOmD-0001Ap-U7@localhost.localdomain>
2008-01-14 12:50                     ` Fengguang Wu
2008-01-14 12:50                     ` Fengguang Wu
2008-01-15 21:13                       ` Mike Snitzer
     [not found]                         ` <E1JF0m1-000101-OK@localhost.localdomain>
2008-01-16  5:25                           ` Fengguang Wu
2008-01-16  5:25                           ` Fengguang Wu
2008-01-15 21:42                     ` Ingo Molnar [this message]
     [not found]                       ` <E1JF0bJ-0000zU-FG@localhost.localdomain>
2008-01-16  5:14                         ` Fengguang Wu
2008-01-16  5:14                         ` Fengguang Wu
2008-01-14  9:55             ` Fengguang Wu
2008-01-16  9:26 Martin Knoblauch
     [not found] ` <E1JF6w8-0000vs-HM@localhost.localdomain>
2008-01-16 12:00   ` Fengguang Wu
2008-01-16 12:00   ` Fengguang Wu
  -- strict thread matches above, loose matches on Subject: below --
2008-01-16 14:15 Martin Knoblauch
2008-01-16 16:27 ` Mike Snitzer
2008-01-17 13:52 Martin Knoblauch
2008-01-17 16:11 ` Mike Snitzer
2008-01-17 17:44 Martin Knoblauch
2008-01-17 20:23 ` Mel Gorman
2008-01-17 17:51 Martin Knoblauch
2008-01-17 21:50 Martin Knoblauch
2008-01-17 22:12 ` Mel Gorman
2008-01-18  8:19 Martin Knoblauch
2008-01-18 16:01 ` Mel Gorman
2008-01-18 17:46   ` Linus Torvalds
2008-01-18 19:01     ` Martin Knoblauch
2008-01-18 19:23       ` Linus Torvalds
2008-01-22 14:39       ` Alasdair G Kergon
2008-01-18 20:00     ` Mike Snitzer
2008-01-18 22:47       ` Mike Snitzer
2008-01-19 10:24 Martin Knoblauch
2008-01-22 15:25 Martin Knoblauch
2008-01-22 23:40 ` Alasdair G Kergon
2008-01-22 18:51 Martin Knoblauch
2008-01-23 11:12 Martin Knoblauch

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=20080115214212.GB32428@elte.hu \
    --to=mingo@elte.hu \
    --cc=akpm@linux-foundation.org \
    --cc=jplatte@naasa.net \
    --cc=linux-ext4@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peterz@infradead.org \
    --cc=torvalds@linux-foundation.org \
    --cc=wfg@mail.ustc.edu.cn \
    /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