RE: [PATCH] ide write barriers

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Wed Feb 26 2003 - 18:10:11 EST


On Wed, 2003-02-26 at 21:20, LEE,SCOTT (HP-Roseville,ex1) wrote:
> If the cached writes can be reordered then of course it stands that caching
> would be unsafe. Does anyone know if IDE drives do this? I'm certainly no
> expert in this area but I thought only SCSI drives reordered operations.

Undefined. There certainly seem to be drives whose physical sector size
exceeds the one it presents to the world. Modern disk is all smoke and
mirrors for compatibility hack on top of compatibility hack.

I can't find anything in the spec that requires drives do not. Nor can
I find anything in the spec requiring a drive implements the cache flush
as anything except a nop [I believe ATA6 changed that for the very
newest stuff]. Not all drives appear to honour any kind of cache disable
either.

-
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/



This archive was generated by hypermail 2b29 : Fri Feb 28 2003 - 22:00:39 EST