On Wed, Aug 06, 2008 at 03:13:02PM +0100, Alan Cox wrote:
It's up to the drive to report the number of sectors it uses. After
that all regular read/write commands will be doing that size. Unless
we're in some very bizarre situation, that will be the majority of
accesses to the device.
Fine, returns 1.
Fine, returns 0.
Might want to print a message explaining why performance is going to
suck and return 1.
... but it's not the odd command, it's going to be the vast majority of
them.
Why can't you just disable the (controller) FIFO whenever any drive
reports != 512 byte sectors?
--
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
--