Messages in this thread | | | Date | Wed, 12 Mar 2003 19:19:53 +0100 | From | Manfred Spraul <> | Subject | Re: bio too big device |
| |
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
- 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/
| |