lkml.org 
[lkml]   [2001]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] filemap_fdatasync & related changes
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/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.055 / U:0.392 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site