Re: [RFC] changes to buffer.c (was Test12 ll_rw_block error)

Marcelo Tosatti
2001-01-05T20:24:44Z

On Fri, 5 Jan 2001, Chris Mason wrote:

>
>
> On Friday, January 05, 2001 01:43:07 PM -0200 Marcelo Tosatti
> <marcelo@conectiva.com.br> wrote:
>
> >
> > On Fri, 5 Jan 2001, Chris Mason wrote:
> >
> >>
> >> Here's the latest version of the patch, against 2.4.0. The
> >> biggest open issues are what to do with bdflush, since
> >> page_launder could do everything bdflush does.
> >
> > I think we want to remove flush_dirty_buffers() from bdflush.
> >
>
> Whoops. If bdflush doesn't balance the dirty list, who does?

Who marks buffers dirty.

Linus changed mark_buffer_dirty() to use flush_dirty_buffers() in case
there are too many dirty buffers.

Also, I think in practice page_launder will help on balancing.