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

kondou at vix.com kondou at vix.com
Wed Sep 8 04:11:15 UTC 1999

  Date: Tuesday, September  7, 1999 @ 21:11:15
Author: kondou

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

Modified Files:

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

	- From: Heath Kehoe <hakehoe at norand.com>
	- Added msync calls to cnfs.c and buffindexed.c
	- cnfs buffer headers were not updating.  This was because the cnfs
	  code has the header mmap()'d, but it was using write() to update
	  the buffer header.  In HP/UX, if a process write()s under an area
	  it has mmap()'d, it doesn't automatically invalidate the mmap()'d
	  area, so the writes get lost.  To fix this, I modified the
	  flushheader function to memcpy the data into the mmap()'d area
	  (which is what the buffindexed code does, anyway)

More information about the inn-committers mailing list