INN commit: trunk/storage/cnfs (cnfs.c)

Russ Allbery Russ_Allbery at isc.org
Tue Jun 7 04:55:07 UTC 2005


    Date: Monday, June 6, 2005 @ 21:55:05
  Author: eagle
Revision: 7278

Write out a multiple of CNFS_BLOCKSIZE to disk by zero-padding the end
of the article.  We don't use that data anyway, since we always align the
start of articles, and this saves an unnecessary read if CNFS_BLOCKSIZE
matches the file system block size (writing a partial block requires a
disk read).  Patch from Miquel van Smoorenburg.

Modified:
  trunk/storage/cnfs/cnfs.c

--------+
 cnfs.c |   38 ++++++++++++++++++++++++++++----------
 1 files changed, 28 insertions(+), 10 deletions(-)


More information about the inn-committers mailing list