Re: [PATCH] 2.5.6 IDE 19

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 11 Mar 2002 15:19:05 +0000 (GMT)


> in replacements for CF cards in digital cameras and I would rather expect
> them to be very tolerant about the driver in front of them. And then

Oh dear me. Wrong again. Microdrives require proper polite wakeups. But you
see camera vendors buy in IDE code from people who can read and follow
standards documents.

> the WB
> caches of IDE devices are not caches in the sense of a MESI cache,
> they are
> more like buffer caches and should therefore flush them self after s
> short
> period of inactivity without the application of any special flush
> command.

You now have an absolute vote of *NO CONFIDENCE* on my part. I'm simply
not going to consider running your code. "It probably wont eat your disk"
and handwaving is not how you write a block layer.

How is anyone supposed to debug file system code in 2.5 when its known
that it will trash data on some disks anyway ? I'd like to see you cite
a paragraph where the IDE device is required to flush the data back
promptly, or on power off. I'd like to see what you plan to do about all
the IBM disks you plan to mistreat and give bad blocks that require a
reformat ?

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