Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jan 2010 09:25:43 +0100
From:      Roman Divacky <rdivacky@FreeBSD.org>
To:        Jeff Roberson <jeff@FreeBSD.org>
Cc:        svn-src-projects@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r202990 - in projects/suj/head/sbin: fsck_ffs fsdb
Message-ID:  <20100126082543.GA59621@freebsd.org>
In-Reply-To: <201001252327.o0PNRLaG009904@svn.freebsd.org>
References:  <201001252327.o0PNRLaG009904@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 25, 2010 at 11:27:21PM +0000, Jeff Roberson wrote:
> Author: jeff
> Date: Mon Jan 25 23:27:21 2010
> New Revision: 202990
> URL: http://svn.freebsd.org/changeset/base/202990
> 
> Log:
>    - Implement partial truncation in the checker.  The file is truncated to
>      the lesser of the original size, the last allocated block, and the
>      intended truncation size depending on how far the original truncation
>      got.
>    - Improve recovery performance by doing duplication and reference move
>      operations for each inode all at once.  The algorithm is still N^2 but
>      doing it as records are discovered ensures that the rest are out of
>      cache when we search.  This reduced fsck time by 80%.

so when you claimed fsck taking at most "a few minutes" it should be
"a few tens of seconds" now?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100126082543.GA59621>