Date: Thu, 7 Oct 2010 00:29:07 +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: <201010070029.o970TGta034211@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
delphij 2010-10-07 00:29:07 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
usr.bin/gzip gzip.c
Log:
SVN rev 213503 on 2010-10-07 00:29:07Z by delphij
MFC r213044:
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.12.2.5 +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?201010070029.o970TGta034211>
