Re: [patch]autosuspend for usb storage

Alan Stern <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Wed, 25 Apr 2007, Oliver Neukum wrote:

> Hi,
> 
> this patch implements autosuspend for usb-storage.
> The device may autosuspend except while
> 1. a scsi request is being processed
> 2. a bus is scanned for devices
> 3. a scsi reset is in progress
> 
> 	Regards
> 		Oliver
> Signed-off-by: Oliver Neukum <[email protected]>

It's a little early to be adding this.  First I'd like to write a
usb_autopm_get_interface_burst() routine, which would act like
usb_autopm_get_interface() except that it would leave the autosuspend
timer running.  The idea is that it would have less overhead in situations
where you expect I/O to occur in bursts (like with usb-storage) by
avoiding a bunch of calls to the timer core.

Also, Greg has about 20 patches from me still queued up, some of which 
affect the USB autosuspend routines.  I'd like to see those applied before 
other related changes are added.

Greg, any word on when those patches will go in?  Are you waiting for 
2.6.21-final to appear?

Alan Stern


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[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.