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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2005-10-05 at 11:53 +0530, Karthik Sarangan wrote:
> Arjan van de Ven wrote:
> > <>that depends, not all pieces of hardware can do transfers that big (or
> > at least advertise to the kernel that they can); if that's the case the
> > kernel will chop it up. Note:t he kernel will not *guarantee* that it'll
> > be one io either way. So don't depend on it for correctness!
> > Yet of course the kernel will try to optimize as good as possible
> Is there a way to find out whether my hardware supports such huge DMA?

max_sectors in the host template for scsi

>  If it does how do I set it to 256KB chunk?

that ought to be automatic really once that's there


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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux