Re: Linux does not care for data integrity (was: Disk write cache)

From: Alan Cox
Date: Mon May 16 2005 - 10:23:22 EST


I think you need to get real if you want that degree of integrity with a
PC

Your typical PC setup means your precious data

Gets written to un ecc protected memory over an unprotected bus
Gets read back over the same
Each PATA command is sent without any CRC or error recovery/correction
The PATA data is pulled out of unprotected memory over PCI
It goes to the drive (with a CRC) and gets stored in memory
It's probably sitting in non ECC RAM on the disk
It's probably fed through non ECC DSP logic
It's mixed on the disk with other data and may get rewritten without
you knowing

You might want to amuse yourself trying to get the bit error rates for
the busses and ram to start documenting the probabilities.

I'd prefer Linux turned writecache off on old drives but Mark Lord has
really good points even there. And for scsi we do tagging and the
journals can be ordered depending on your need.

You are storing 40 billion bits of information on a lump of metal and
glass rotating at 10,000rpm and pushing into areas of quantum theory in
order to store you data. It should be no suprise it might not be there a
month later.

You also appear confused: It isn't the maintainers responsibility to
arrange for such info. It's the maintainers responsibility to process
contributed patches with such info.


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