Re: 2.6.4-mm2

From: Chris Mason
Date: Wed Mar 17 2004 - 17:45:15 EST


On Wed, 2004-03-17 at 15:33, Andrew Morton wrote:
> Chris Mason <mason@xxxxxxxx> wrote:
> >
> > [ data not getting flushed ]
> >
> > Ummm, this might help:
>
> Pedant.
>
;-)

wait_on_page_writeback_range() does a pagevec_lookup_tag on
min(end - index + 1, (pgoff_t)PAGEVEC_SIZE)

Which translates to: (unsigned long)-1 - 0 + 1, which is 0.

It doesn't look like anyone is using the range feature of this function,
can we make it just wait on all the writeback pages?

-chris


-
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/