lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48601B5A.40400@s5r6.in-berlin.de>
Date:	Mon, 23 Jun 2008 23:53:30 +0200
From:	Stefan Richter <stefanr@...6.in-berlin.de>
To:	Alan Stern <stern@...land.harvard.edu>
CC:	David Vrabel <david.vrabel@....com>,
	Kernel development list <linux-kernel@...r.kernel.org>,
	AntonioLin <antonio.lin@...ormicro.com>,
	linux-usb@...r.kernel.org,
	"Perez-Gonzalez, Inaky" <inaky.perez-gonzalez@...el.com>
Subject: Re: Scatter-gather list constraints

Alan Stern wrote:
> 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/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ