Re: [PATCH] filemap_fdatasync & related changes

From: Chris Wedgwood (cw@f00f.org)
Date: Wed Jan 03 2001 - 16:39:24 EST


On Wed, Jan 03, 2001 at 02:09:30PM -0500, Chris Mason wrote:

    The problem with [mf]sync is that we really want to write the
    page before returning back to the application.

We don't _want_ to -- we MUST. Some applications assume fsync and
fdatasync work correctly; if they do not the all bests are off.

This includes many MTAs, MDAs and databases (msync also being
important).

Looping somewhere before returning to the application is by far
better than returning when some pages have yet to be flushed.

  --cw

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 07 2001 - 21:00:16 EST