Re: bdflush flushing memory mapped pages.

From: Arjan van de Ven (arjanv@redhat.com)
Date: Wed Apr 09 2003 - 04:22:43 EST


On Wed, 2003-04-09 at 21:20, Keith Ansell wrote:
> help
>
> My application uses SHARED memory mapping files for file I/O, and we have
> observed
> that Linux does not flush dirty pages to disk until munmap or msync are
> called.
>
> I would like to know are there any development plans which would address
> this issue or
> if there is a version of bdflush which flushes write required pages (dirty
> pages) to disk?

The linux behavior is perfectly fine and conformant to the posix/sus
specifications, applications that break because of this are defective
and need fixing. This is a performance optimisation that the OS is
perfectly allowed to do.



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



This archive was generated by hypermail 2b29 : Tue Apr 15 2003 - 22:00:18 EST