Re: Possible Idea with filesystem buffering.

Andrew Morton
2002-01-22T18:48:50Z

Hans Reiser wrote:
>
> So is there a consensus view that we need 2 calls, one to write a
> particular page, and one to exert memory pressure, and the call to write
> a particular page should only be used when we really need to write that
> particular page?
>

Note that writepage() doesn't get used much. Most VM-initiated
filesystem writeback activity is via try_to_release_page(), which
has somewhat more vague and flexible semantics.

And by bdflush, which I suspect tends to conflict with sync_page_buffers()
under pressure. But that's a different problem.

-