Re: [BUG] heavy disk access sometimes freezes 2.5.73-mm[123]

Andrew Morton (akpm@osdl.org)
Mon, 7 Jul 2003 12:18:59 -0700


Chris Mason <mason@suse.com> wrote:
>
> > diff -u linux-2.5.74-mm2/fs/reiserfs/tail_conversion.c.orig linux-2.5.74-mm2/fs/reiserfs/tail_conversion.c
> > --- linux-2.5.74-mm2/fs/reiserfs/tail_conversion.c.orig 2003-06-23 09:26:10.000000000 -0700
> > +++ linux-2.5.74-mm2/fs/reiserfs/tail_conversion.c 2003-06-23 09:26:10.000000000 -0700
> > @@ -190,9 +190,6 @@ unmap_buffers(struct page *page, loff_t
> > }
> > bh = next ;
> > } while (bh != head) ;
> > - if ( PAGE_SIZE == bh->b_size ) {
> > - ClearPageDirty(page);
> > - }
> > }
> > }
> > }
>
> Heh, you read my mind. It makes more sense for this hunk to be causing
> problems than the first one. Still we should be allowed to clear the
> dirty bit since we've cleaned all the buffers on the page.

But we need to tell the VFS that the page was cleaned.

Could someone please make that clear_page_dirty() and retest?

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