Re: [patch]autosuspend for usb storage

Oliver Neukum <[email protected]>
Newsgroups gmane.linux.usb.devel
Organization Novell
Message-ID <[email protected]>
Am Mittwoch, 25. April 2007 21:13 schrieb Alan Stern:
> 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.

No problem. I'll adapt as soon as you are ready.

> 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.

Very well, I just want people to
- have a look at this
- try it out
- iron out some user space issues

	Regards
		Oliver

-------------------------------------------------------------------------
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.