[INN-COMMITTERS] inn/storage/buffindexed (buffindexed.c)

kondou at vix.com kondou at vix.com
Tue Sep 21 03:38:12 UTC 1999


  Date: Monday, September 20, 1999 @ 20:38:12
Author: kondou

Update of /dist1/cvs/isc/inn/inn/storage/buffindexed
     from pub3.rc.vix.com:/dist1/isc/kondou/CURRENT/inn/storage/buffindexed

Modified Files:
	buffindexed.c 

-----------------------------  Log Message  -----------------------------


storage/buffindexed/buffindexed.c:
	- From: Heath Kehoe <hakehoe at norand.com>
	- With HP/UX, you definitely do not want to mix mmap-accesses of
	  a file with read()s and write()s of the same file.  Writes may
	  get lost, and reads will see stale data, unless you do lots of
	  msyncs (which is a pain).  The buffindexed code uses mmap-accesses
	  in all but four places, so I modified those last few pwrite()s
	  to use mmap instead.  With this change, buffindexed has been
	  working reliably on my servers.  Without this change, the OV
	  buffers invariably become corrupt.




More information about the inn-committers mailing list