From owner-cvs-src@FreeBSD.ORG Thu Apr 15 15:37:55 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 053E316A4CF; Thu, 15 Apr 2004 15:37:55 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D69F243D46; Thu, 15 Apr 2004 15:37:54 -0700 (PDT) (envelope-from kientzle@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i3FMbsGe024225; Thu, 15 Apr 2004 15:37:54 -0700 (PDT) (envelope-from kientzle@repoman.freebsd.org) Received: (from kientzle@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i3FMbsS0024224; Thu, 15 Apr 2004 15:37:54 -0700 (PDT) (envelope-from kientzle) Message-Id: <200404152237.i3FMbsS0024224@repoman.freebsd.org> From: Tim Kientzle Date: Thu, 15 Apr 2004 15:37:54 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/tar bsdtar.c bsdtar.h util.c write.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2004 22:37:55 -0000 kientzle 2004/04/15 15:37:54 PDT FreeBSD src repository Modified files: usr.bin/tar bsdtar.c bsdtar.h util.c write.c Log: As suggested by Julian Elischer, use a self-sizing hash table for the hardlink cache. This dramatically improves performance when archiving millions of hardlinked files. While I'm here, clean up some style bugs (per Bruce Evans) and clarify some comments. Revision Changes Path 1.7 +1 -11 src/usr.bin/tar/bsdtar.c 1.4 +19 -33 src/usr.bin/tar/bsdtar.h 1.3 +21 -15 src/usr.bin/tar/util.c 1.8 +238 -70 src/usr.bin/tar/write.c