Date: 19 Oct 2001 13:26:20 -0400 From: Randell Jesup <rjesup@wgate.com> To: tlambert2@mindspring.com Cc: Ollivier Robert <roberto@keltia.freenix.fr>, freebsd-arch@FreeBSD.ORG, Matt Dillon <dillon@earth.backplane.com> Subject: Re: cvs commit: src/sbin/newfs newfs.8 newfs.c Message-ID: <0000479c054b4307d1@[192.168.1.4]> In-Reply-To: Terry Lambert's message of "Fri, 19 Oct 2001 09:38:01 -0700" References: <200110110851.f9B8ptf60343@freefall.freebsd.org><20011011112527.A54224@coffee.q9media.com><20011011154203.C44561@dragon.nuxi.com><20011013143225.B4527@ns2.freenix.org><20011013172706.A53976@dragon.nuxi.com><20011014160303.A22301@ns2.freenix.org><20011014194232.A50125@dragon.nuxi.com><00005ba2015f4b07d1@[192.168.1.4]> <0000157003191707d1@[192.168.1.4]><20011018225023.B41916@tara.freenix.org><0000471a054ac107d1@[192.168.1.4]>
next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert <tlambert2@mindspring.com> writes: >Ollivier Robert wrote: >> According to Randell Jesup: >> > So, do we really have problems with 16k/4k/64? If so, let's fix the >> > problems. >> >> I don't know really if we have problems with something other than a 8:1 = ratio >> but 4k is too big IMO and wastes too much space. Bruce Evans noted that there's a bug in my disklabel.c patch that's= been in for 7 months, and frag is set to 0 if the user didn't specify it by= hand. newfs considers frag of 0 to be 1024, and also limits block size to 8*frag, so the default actually was 8192/1024 >There are some obvious problems with any frag size larger than >the physical disk block side, when it comes to guaranteeing the >atomicity of the writes in a situation where the system is not >stable (e.g. connected to the power grid in California). 1024 is larger than physical disk sector size too. The FS should deal with this possibility anyways. -- Randell Jesup, Worldgate Communications, ex-Scala, ex-Amiga OS team rjesup@wgate.com "They that can give up essential liberty to obtain a little temporary safet= y deserve neither liberty nor safety." -Benjamin Franklin, Historical Review of Pennsylvania, 1759. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0000479c054b4307d1>