Re: [PATCH] 64 bit scsi read/write

Chris Wedgwood
2001-07-13T21:07:22Z

On Fri, Jul 13, 2001 at 02:41:52PM -0600, Andreas Dilger wrote:

Yes, RAID should have a journal or other ordering enforcement, but
it really isn't any worse in this regard than a single disk. Even
on a single disk you don't have any guarantees of data ordering,
so if you change the file and the power is lost, some of the
sectors will make it to disk and some will not => fsck, with
possible data corrpution or loss.

How so? On a single disk you can either disable write-caching or for
SCSI disks you can use barriers of sorts.

At which time, you can either assume a sector is written or not.

--cw