Messages in this thread |  | | Date | Thu, 4 Jan 2001 10:39:24 +1300 | From | Chris Wedgwood <> | Subject | Re: [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/
|  |