Received: by mail.netbsd.org (Postfix, from userid 605) id 3602414A38F; Tue, 6 Mar 2012 15:39:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3BCF114A37F for ; Tue, 6 Mar 2012 15:39:42 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id mxiqlFvvvN8I for ; Tue, 6 Mar 2012 15:39:41 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 785AD14A337 for ; Tue, 6 Mar 2012 15:39:41 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 7FC24175DD; Tue, 6 Mar 2012 15:39:41 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Tue, 6 Mar 2012 15:39:41 +0000 From: "Izumi Tsutsui" Subject: CVS commit: src/sbin/newfs_ext2fs To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20120306153941.7FC24175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Izumi Tsutsui" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: tsutsui Date: Tue Mar 6 15:39:41 UTC 2012 Modified Files: src/sbin/newfs_ext2fs: mke2fs.c Log Message: Stop zero'ing all possible superblock backup leftovers conservatively. Instead, explicitly zap only possible first backups and FFS superblocks. Fixes "Extreamly slow newfs_ext2fs on 60Gb USB stick" problem reported by Aleksey Cheusov on tech-kern@. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/sbin/newfs_ext2fs/mke2fs.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.