Subject: Re: CVS commit: basesrc/sbin/newfs
To: Lennart Augustsson <augustss@netbsd.org>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: source-changes
Date: 01/04/2002 17:09:16
On Sun, Dec 30, 2001 at 08:49:29PM +0200, Lennart Augustsson wrote:
> 
> Module Name:	basesrc
> Committed By:	augustss
> Date:		Sun Dec 30 18:49:29 UTC 2001
> 
> Modified Files:
> 	basesrc/sbin/newfs: newfs.c
> 
> Log Message:
> Change how default block size is picked.  The default block size is used
> if there is no command line option and the disklabel gives 0 as the size.
> The default used to be 8k, not the default is picked depending on the
> file system size.  FS < 20M gets 4k, <1G get 8k, and >1G get 16k.
> The 16k default was suggested by lukem which FreeBSD is using.

Filesystems with block size < page size used to have problems in read-ahead
code (because of pagemove()). Is this fixed with UBC ?

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
--