Re: bdflush flushing memory mapped pages.

Nick Piggin (piggin@cyberone.com.au)
Thu, 10 Apr 2003 19:02:15 +1000


Keith Ansell wrote:

>Thank you for your prompt replies.
>
>I realise that Linux conforms to the letter of the specification, but maybe
>not the spirit of the it.
>
>I am porting a Database solution to Linux from Unix SVR4, Sco OpenServer and
>AIX, where all write required memory mapped files are flushed to disk with
>the system flusher, my users have large systems (some in excess of 600
>concurrent connections) flushing memory mapped files is a big part of are
>systems performance. This ensures that in the event of a catastrophic
>system failure the customers vitual business data has been written to disk .
>
As Andrew mentioned, msync would do what you want. It seems
to me though, that your database solution wants a stronger
guarantee about the safety of the data than asynchronous
writes will provide anyway.

-
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/