From owner-freebsd-fs Fri Jan 31 16:13:25 2003 Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC2E337B401 for ; Fri, 31 Jan 2003 16:13:23 -0800 (PST) Received: from sccrmhc01.attbi.com (sccrmhc01.attbi.com [204.127.202.61]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F50243F79 for ; Fri, 31 Jan 2003 16:13:23 -0800 (PST) (envelope-from julian@elischer.org) Received: from InterJet.elischer.org (12-232-168-4.client.attbi.com[12.232.168.4]) by sccrmhc01.attbi.com (sccrmhc01) with ESMTP id <20030201001316001008a0l0e>; Sat, 1 Feb 2003 00:13:17 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id QAA48166; Fri, 31 Jan 2003 16:13:15 -0800 (PST) Date: Fri, 31 Jan 2003 16:13:13 -0800 (PST) From: Julian Elischer To: David Schultz Cc: Steve Byan , freebsd-fs@FreeBSD.ORG, tech-kern@netbsd.org Subject: Re: DEV_B_SIZE In-Reply-To: <20030131234932.GA16959@HAL9000.homeunix.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Fri, 31 Jan 2003, David Schultz wrote: > Thus spake Julian Elischer : > > > contents of the sector are there. I think we would need to > > > implement journalling to ensure integrity if hard drives were > > > likely to corrupt sectors on power failure. (How often do they do > > > this right now, and how often would they with 4K sectors?) > > > > > > in this case teh journel would have to not only include the block being > > written, but data on each side of it that may be in teh same 4k. > > that implies a read.. > > If you had to do that, then nearly every write would be a > read-modify-write cycle. It would be far less painful > to use 4K blocks or larger and align filesystem blocks > to disk sectors. exactly.. But this is a case where "a filesystem using 512 byte blocks would behave significanlty differently with one of these drives" which is what he was asking. > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message