Messages in this thread | | | Subject | Re: [linux-usb-devel] Re: OHCI problems with suspend/resume | From | Benjamin Herrenschmidt <> | Date | 31 Jul 2003 23:32:23 +0200 |
| |
> If it's in the middle of any kind of write, suspending would > seem to be unwise. Say, writing to a swap partition...
No, you wait for pending requests to complete and keep further ones in the queue. I will probably write the proper infrastructure for SCSI hosts later this month, it has to be done like IDE, with a special BIO "suspend" request so that things gets properly synchronized.
> 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. > > - Dave -- Benjamin Herrenschmidt <benh@kernel.crashing.org> - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |