Re: [PATCH] balance_dirty_pages - exit loop when no more pages available

2007-08-02 Thread Chuck Ebbert
On 07/31/2007 01:11 PM, richard kennedy wrote: Peter, did you see this? > exit loop in balance_dirty_pages when no more pages available to write > > On a bdi that has very little traffic balance_dirty_pages can loop > needlessly waiting until do_writepages has written enough pages. > > do_write

[PATCH] balance_dirty_pages - exit loop when no more pages available

2007-07-31 Thread richard kennedy
exit loop in balance_dirty_pages when no more pages available to write On a bdi that has very little traffic balance_dirty_pages can loop needlessly waiting until do_writepages has written enough pages. do_writepages will return encountered_congestion==0 && nr_to_write > 0 when it has completed