Date: Thu, 7 Oct 2010 00:30:29 +0000 (UTC) From: Xin LI <delphij@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.bin/gzip gzip.c Message-ID: <201010070030.o970Uqox034381@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
delphij 2010-10-07 00:30:29 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) usr.bin/gzip gzip.c Log: SVN rev 213504 on 2010-10-07 00:30:29Z by delphij MFC r210344: In the past gunzip(1) write()'s after each inflate return. This is not optimal from a performance standpoint since the write buffer is not necessarily be filled up when the inflate rountine reached the end of input buffer and it's not the end of file. This problem gets uncovered by trying to pipe gunzip -c output to a GEOM device directly, which enforces the writes be multiple of sector size. Sponsored by: iXsystems, Inc. Reported by: jpaetzel Revision Changes Path 1.4.2.6 +2 -0 src/usr.bin/gzip/gzip.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010070030.o970Uqox034381>