On Mon, May 19, 2008 at 09:44:11AM -0700, Christoph Lameter wrote:
How hard is it? I don't have time right now to do this, but it's essentially:
mapping = page->mapping;
......
- mapping->aops->writepage();
+ filemap_fdatawrite_range(mapping, start, end);
Where [start,end] span page->index and are is large enough
to get a substantial sized I/O to disk (say at least SWAP_CLUSTER_MAX
pages, preferrably larger for 4k page size machines).
Cheers,
Dave.
--
Dave Chinner
Principal Engineer
SGI Australian Software Group
--