Re: [PATCH 1/1] usb-storage: limit devices that cannot handle 32k transfers
Greg KH <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Nov 29, 2007 at 09:54:08AM -0600, Doug Maxey wrote: > > >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]> > --- > Greg, > please consider this for 2.6.24. It does fix a problem with > existing devices. Which "devices"? And do these devices work properly on older versions of Linux, and this is a regression fix, or have they just never worked properly? thanks, greg k-h ------------------------------------------------------------------------- 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