Re: [Patch] jbd commit code deadloop when installing Linux

Andrew Morton
2006-06-28T06:55:16Z

On Wed, 28 Jun 2006 08:38:59 +0200
Ingo Molnar <mingo@elte.hu> wrote:

>
> * Andrew Morton <akpm@osdl.org> wrote:
>
> > > We see system hang in ext3 jbd code
> > > when Linux install program anaconda copying
> > > packages.
> > >
> > > That is because anaconda is invoked from linuxrc
> > > in initrd when system_state is still SYSTEM_BOOTING.
>
> [ argh ...! ]

That's what I thought ;)

> > > Thus the cond_resched checks in journal_commit_transaction
> > > will always return 1 without actually schedule,
> > > then the system fall into deadloop.
> >
> > That's a bug in cond_resched().
> >
> > Something like this..
>
> Acked-by: Ingo Molnar <mingo@elte.hu>
>

Thanks. Zou, it'd be great if you could test this in your setup, please.
I've tagged it as 2.6.17.x material.