Thread View: news.software.nntp
1 messages
1 total messages
Started by Matt Dillon
Thu, 24 Sep 1998 00:00
FreeBSD VM bug where data is sometimes lost located
Author: Matt Dillon
Date: Thu, 24 Sep 1998 00:00
Date: Thu, 24 Sep 1998 00:00
21 lines
1530 bytes
1530 bytes
I believe I have located the kernel bug in FreeBSD that is causing
odd data loss in Diablo. The bug is related to a race condition where
a file is written to with write() (aka diablo server) while simultaniously
being mmap()ed (aka dnewslink). The bug is actually somewhat more general
then that and can occur even if the file is not mmap'd. Under certain
circumstances, portions of the data being written can get lost (NULs
wind up in the file instead of the article data). Diablo happens to hit
the set of circumstances regularly.
I'll post more about it tomorrow once I've verified that the problem has
been fixed, then it will be comitted into both FreeBSD-current and
FreeBSD-stable. Yahh.
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads