Re: [patch 10/21] buffer heads: Support slab defrag

Christoph Lameter
2008-05-15T17:42:27Z

On Mon, 12 May 2008, David Chinner wrote:

> If you are going to clean bufferheads (or pages), please clean entire
> mappings via ->writepages as it leads to far superior I/O patterns
> and a far higher aggregate rate of page cleaning.....

That brings up another issue: Lets say I use writepages on a large file
(couple of gig). How much do you want to write back?