Re: kernel BUG at mm/page-writeback.c:LINE!

From: Linus Torvalds
Date: Tue Jan 05 2021 - 14:55:06 EST


On Tue, Jan 5, 2021 at 11:31 AM Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> On Mon, Jan 4, 2021 at 7:29 PM Hugh Dickins <hughd@xxxxxxxxxx> wrote:
> >
> > > So the one-liner of changing the "if" to "while" in
> > > wait_on_page_writeback() should get us back to what we used to do.
> >
> > I think that is the realistic way to go.
>
> Yeah, that's what I'll do.

I took your "way to go" statement as an ack, and made it all be commit
c2407cf7d22d ("mm: make wait_on_page_writeback() wait for multiple
pending writebacks").

Linus