From owner-freebsd-current@FreeBSD.ORG Mon Sep 6 05:21:35 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1752916A4CE; Mon, 6 Sep 2004 05:21:35 +0000 (GMT) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id E895A43D1F; Mon, 6 Sep 2004 05:21:33 +0000 (GMT) (envelope-from keramida@hellug.gr) Received: from igloo.linux.gr (localhost [127.0.0.1])i865FZD1009343; Mon, 6 Sep 2004 08:15:35 +0300 Received: (from keramida@localhost) by igloo.linux.gr (8.12.11/8.12.11/Debian-5) id i865FWfb009338; Mon, 6 Sep 2004 08:15:33 +0300 X-Authentication-Warning: igloo.linux.gr: keramida set sender to keramida@linux.gr using -f Date: Mon, 6 Sep 2004 08:15:27 +0300 From: Giorgos Keramidas To: Don Lewis Message-ID: <20040906051526.GA8925@igloo.linux.gr> References: <200409041920.i84JKTKw032364@gw.catspoiler.org> <200409060133.i861Xafc035069@gw.catspoiler.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200409060133.i861Xafc035069@gw.catspoiler.org> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-4.891, required 5, autolearn=not spam, AWL 0.01, BAYES_00 -4.90) X-MailScanner-From: keramida@linux.gr X-Mailman-Approved-At: Mon, 06 Sep 2004 11:58:45 +0000 cc: freebsd-current@FreeBSD.org Subject: Re: what is fsck's "slowdown"? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Sep 2004 05:21:35 -0000 On 2004-09-05 18:33, Don Lewis wrote: > Index: sbin/fsck_ffs/fsck.h > =================================================================== > RCS file: /home/ncvs/src/sbin/fsck_ffs/fsck.h,v > retrieving revision 1.32 > diff -u -r1.32 fsck.h > --- sbin/fsck_ffs/fsck.h 1 Sep 2004 05:48:06 -0000 1.32 > +++ sbin/fsck_ffs/fsck.h 6 Sep 2004 00:41:31 -0000 > @@ -84,6 +84,8 @@ > #define DFOUND 04 /* directory found during descent */ > #define DCLEAR 05 /* directory is to be cleared */ > #define FCLEAR 06 /* file is to be cleared */ > +#define FZLINK 07 /* inode is file with a link count of zero */ > +#define DZLINK 10 /* inode is directory with a zero link count */ Just a minor note: 04, 05, 06, 07, are octals. I think DZLINK should be 010 and not 10 (which is decimal).