Re: bio too big device

Linus Torvalds
2003-03-12T17:49:32Z

In article <20030312154440.GA4868@win.tue.nl>,
Andries Brouwer <aebr@win.tue.nl> wrote:
>On Wed, Mar 12, 2003 at 11:14:14AM +0100, Jens Axboe wrote:
>
>> So I still think it's much better stick with the safe choice. Why do you
>> think it's only one drive that has this bug? It basically boils down to
>> whether That Other OS uses 256 sector commands or not. If it doesn't, I
>> wouldn't trust the drives one bit.
>
>I am not quite sure I understand your reasoning.
>We have seen *zero* drives that do not understand 256 sector commands.
>Maybe such drives exist, but so far there is zero evidence.

That is definitely not true. We definitely _have_ had drives that
misconstrue the 256-sector case. It's been a long time, but they
definitely exist.

The right limit for IDE is 255 sectors, and doing 256 sectors WILL fail
on some setups.

Linus