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

From: Ingo Molnar
Date: Wed Jun 28 2006 - 02:42:22 EST



* Andrew Morton <akpm@xxxxxxxx> 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 ...! ]

> > 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@xxxxxxx>

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/