Alan Stern wrote:
quoted text > On Mon, 23 Jun 2008, David Vrabel wrote:
>> Can the number of entries in a sg list be limited? e.g., if the
>> hardware only had support for say, 64 entries?
>
> Yes, there are two fields in struct request_queue for this:
> max_phys_segments (the driver's limit) and max_hw_segments (the
> hardware's limit).
David, also have a look at <linux/blkdev.h> from the comment "Access
functions for manipulating queue properties" downwards for accessors to
request queue tunables.
--
Stefan Richter
-=====-==--- -==- =-===
http://arcgraph.de/sr/
--
unsubscribe notice 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/
Messages in current thread:
Re: Scatter-gather list constraints , Stefan Richter , (Mon Jun 23, 2:53 pm)