Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2003 16:13:13 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        David Schultz <dschultz@uclink.berkeley.edu>
Cc:        Steve Byan <stephen_byan@maxtor.com>, freebsd-fs@FreeBSD.ORG, tech-kern@netbsd.org
Subject:   Re: DEV_B_SIZE
Message-ID:  <Pine.BSF.4.21.0301311611190.47169-100000@InterJet.elischer.org>
In-Reply-To: <20030131234932.GA16959@HAL9000.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Fri, 31 Jan 2003, David Schultz wrote:

> Thus spake Julian Elischer <julian@elischer.org>:
> > > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0301311611190.47169-100000>