Date: Mon, 21 Nov 2005 16:50:08 -0500 From: Mikhail Teterin <mi+mx@aldan.algebra.com> To: questions@freebsd.org Subject: some files written via mmap end up corrupted Message-ID: <200511211650.08260.mi%2Bmx@aldan.algebra.com>
next in thread | raw e-mail | index | archive | help
I must not be using the API properly :-( The writes to the mmap-ed area and then fsync-s the opened file, munmaps it, and exits. Sometimes, the files end up corrupted at the end, however -- in about 10% of cases. What am I doing wrong? Thanks! -mi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511211650.08260.mi%2Bmx>