Re: Using DMA in read/write, setting block size for I/O ->max_sectors

From: Arjan van de Ven
Date: Wed Oct 05 2005 - 05:26:39 EST


On Wed, 2005-10-05 at 15:13 +0530, Karthik Sarangan wrote:
> Arjan van de Ven wrote:
>
> >max_sectors in the host template for scsi
>
> Can I set this parameter during startup for scsi_mod.ko during load?

no it's a property of the hardware and as such the DRIVER has to set it.
Not all hw can deal with really big sizes, so the driver is supposed to
set what the hw is capable of.

> I actually needed a 256KB transfer size

needed in what sense? 2x 128Kb isn't too bad either anyway :)


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/