From owner-cvs-src-old@FreeBSD.ORG Thu Oct 7 00:29:16 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 F107B1065693 for ; Thu, 7 Oct 2010 00:29:16 +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 DF88B8FC14 for ; Thu, 7 Oct 2010 00:29:16 +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 o970TG2C034212 for ; Thu, 7 Oct 2010 00:29:16 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o970TGta034211 for cvs-src-old@freebsd.org; Thu, 7 Oct 2010 00:29:16 GMT (envelope-from delphij@repoman.freebsd.org) Message-Id: <201010070029.o970TGta034211@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:29:07 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 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:29:17 -0000 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