Re: [PATCH v4] Re: another unusual flag for a really limited device

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Wed, 28 Nov 2007, Doug Maxey wrote:

> This version folds in Alan's example.
> 
> ++doug
> ---
> From f644b337771374178d5585bcedf8153f5b45f2d6 Mon Sep 17 00:00:00 2001
> From: Doug Maxey <[email protected]>
> Date: Tue, 27 Nov 2007 18:42:42 -0600
> Subject: [PATCH 1/1] usb-storage: limit devices that cannot handle 32k transfers
> 
> When a device cannot handle the smallest previously limited transfer
> size (64 blocks) without stalling, limit the device to the amount of
> packets that fit in a platform native page.
> 
> The lowest possible limit is PAGE_CACHE_SIZE, so if the device is ever
> used on a platform that has larger than 8K pages, you lose unless you
> can convince the device firmware folks to fix the issue.
> 
> Cc: Mathew Dharm <[email protected]>
> Cc: Alan Stern <[email protected]>
> Cc: Pete Zaitcev <[email protected]>
> Signed-off-by: Doug Maxey <[email protected]>

Signed-off-by: Alan Stern <[email protected]>


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
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.