Re: [PATCH] 64 bit scsi read/write

Chris Wedgwood (cw@f00f.org)
Sat, 14 Jul 2001 09:07:03 +1200


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/