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

next in thread | previous in thread | raw e-mail | index | archive | help
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.

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?20030131234932.GA16959>