Re: bdflush flushing memory mapped pages.

Arjan van de Ven (arjanv@redhat.com)
09 Apr 2003 11:22:43 +0200


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-12019-1049880209-0001-2
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Wed, 2003-04-09 at 21:20, Keith Ansell wrote:
> help
>=20
> 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.
>=20
> 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 (dirt=
y
> 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.

--=_courier-12019-1049880209-0001-2
Content-Type: application/pgp-signature; name="signature.asc"
Content-Transfer-Encoding: 7bit
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA+k+ZixULwo51rQBIRAkxyAJsGlOPoiqyQ2FBdEDWlwvFUO+KFyACfZqPK
Qkx17wWUCncM3fiDiTqmFFo=
=T9ia
-----END PGP SIGNATURE-----

--=_courier-12019-1049880209-0001-2--