Re: another unusual flag for a really limited device

Matthew Dharm <[email protected]>
Newsgroups gmane.linux.usb.devel
Organization One Eyed Alien Networks
Message-ID <[email protected]>
On Wed, Nov 14, 2007 at 06:54:17PM -0500, Alan Stern wrote:
> On Wed, 14 Nov 2007, Matthew Dharm wrote:
> 
> > I'm somewhat tempted to actually just convert the _64 flag to a _MIN flag,
> > and make the issue of finding an "optimal" value a userspace problem.  I
> > think you can get to this parameter via sysfs, right?
> 
> In fact there are two separate sysfs interfaces for that parameter!  
> One in usb-storage and one in the generic block queue code.  In theory 
> we could remove ours, but it's already an established userspace API so 
> we should hesitate before getting rid of it.

We should at least be thinking about merging them.   It's not like ours
manipulates anything usb-storage or SCSI specific; it just calls
blk_queue_max_sectors

Perhaps we could turn ours into a symlink to the one provided by the block
queue code?

Matt

-- 
Matthew Dharm                              Home: [email protected] 
Maintainer, Linux USB Mass Storage Driver

Why am I talking to a toilet brush?
					-- CEO
User Friendly, 4/30/1998

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHPH0yHL9iwnUZqnkRAsAaAKCE3P4E3USu7AnMbk/KxspBvxISrACcDrnk
ZAuK5/dugItVhv1UWdp5z+s=
=nWpM
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.