Re: [PATCH 9/9] writeback: Prioritise dirty inodes encountered byreclaim for background flushing

From: Christoph Hellwig
Date: Wed Jul 28 2010 - 07:08:35 EST


On Wed, Jul 28, 2010 at 11:27:23AM +0100, Mel Gorman wrote:
> It is preferable that as few dirty pages are dispatched for cleaning from
> the page reclaim path. When dirty pages are encountered by page reclaim,
> this patch marks the inodes that they should be dispatched immediately. When
> the background flusher runs, it moves such inodes immediately to the dispatch
> queue regardless of inode age.

Thus whole thing looks rather hacky to me. Does it really give a large
enough benefit to be worth all the hacks?

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