Hi!

> >>USB drivers don't talk suspend/resume yet, so they
> >>won't notice missing features there.  Regressions
> >>are a different story though.
> >>
> >>But I can imagine that usb-storage (or is that SCSI?)
> >>might want to veto suspending devices that are being
> >>used for some kinds of i/o.  Eventually it should exist.
> >
> >
> >For what kind of I/O? I do not see a reason for disk to veto
> >suspend. CD-burner might want to do that, but it still would be bad
> >idea... (Running on battery, battery goes low, and you destroy your CD
> >*and* your filesystem.
> 
> If it's in the middle of any kind of write, suspending would
> seem to be unwise.  Say, writing to a swap partition...

We already know it is not... We stopped all user tasks for this
purpose. Also the device has opportunity to simply wait inside
SAVE_STATE for a write to finish.

> Mostly I'm just saying that if vetoing ever makes sense
> (and I understand that it does), USB drivers will need
> to understand it too.

Agreed.
                                                        Pavel

-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to