Re: bio too big device

Manfred Spraul
2003-03-12T18:10:09Z

Jens wrote:

>On Wed, Mar 12 2003, Andre Hedrick wrote:
>>
>> So lets dirty list the one drive by Paul G. and be done.
>> Can we do that?
>
>Who cares, really? There's not much point in doing it, we're talking 248
>vs 256 sectors in reality. I think it's a _bad_ idea, lets just keep it
>at 255 and avoid silly drive bugs there.
>
>
I think a black list would be the right thing:

linux/drivers/ide/ide-probe.c:

>#ifdef CONFIG_BLK_DEV_PDC4030
> max_sectors = 127;
>#else
> max_sectors = 255;
>#endif
> blk_queue_max_sectors(q, max_sectors);
>
>
>
IDE uses 127 sector requests if support for PDC4030 is compiled it,
otherwise 255. It seems someone started with a blacklist, but never
completed it.
Does any distro enable PDC4030 support?

--
Manfred