Re: no luck with max_sectors_kb (Re: voluntary-preempt-2.6.8-rc2-J4)

Ingo Molnar
2004-07-27T06:58:00Z

* Rudo Thomas <rudo@matfyz.cz> wrote:

> > does the patch below, ontop of -J7, help?
>
> I tried it, but did not test tuning the value, as the patch has
> problems of its own: with device-mapper.
>
> bio too big device dm-0 (256 > 255)
>
> Again, some files cannot be read on the device.

ok, dm (and some other layered block drivers) set q->max_sectors
directly instead of using blk_queue_max_sectors().

Ingo