Date: Thu, 23 Sep 2010 01:24:33 +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: <201009230124.o8N1OnVN006977@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
delphij 2010-09-23 01:24:33 UTC FreeBSD src repository Modified files: usr.bin/gzip gzip.c Log: SVN rev 213044 on 2010-09-23 01:24:33Z by delphij 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 MFC after: 2 weeks Revision Changes Path 1.20 +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?201009230124.o8N1OnVN006977>