Subject: CVS commit: syssrc/sys/ufs/ffs
To: None <>
From: Charles M. Hannum <>
List: source-changes
Date: 04/10/2002 17:31:08
Module Name:	syssrc
Committed By:	mycroft
Date:		Wed Apr 10 14:31:08 UTC 2002

Modified Files:
	syssrc/sys/ufs/ffs: fs.h

Log Message:
Add a special case for nrpos=1 to cbtorpos().  This massively reduces CPU usage
by newfs(8) -- and fsck_ffs(8) on a relatively empty file system.  There is
still one divide left in the inner loops, to calculate cylno values.

To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 syssrc/sys/ufs/ffs/fs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.