svn commit: r202990 - in projects/suj/head/sbin: fsck_ffs fsdb

Roman Divacky rdivacky at FreeBSD.org
Tue Jan 26 08:25:56 UTC 2010


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?


More information about the svn-src-projects mailing list