From owner-cvs-src-old@FreeBSD.ORG Thu Oct 7 00:30:52 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BB401065675 for ; Thu, 7 Oct 2010 00:30:52 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4A9898FC13 for ; Thu, 7 Oct 2010 00:30:52 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o970Uq4h034383 for ; Thu, 7 Oct 2010 00:30:52 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o970Uqox034381 for cvs-src-old@freebsd.org; Thu, 7 Oct 2010 00:30:52 GMT (envelope-from delphij@repoman.freebsd.org) Message-Id: <201010070030.o970Uqox034381@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to delphij@repoman.freebsd.org using -f From: Xin LI Date: Thu, 7 Oct 2010 00:30:29 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/usr.bin/gzip gzip.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Oct 2010 00:30:52 -0000 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