On Mon, 18 Jun 2007, Oliver Neukum wrote: > Hi, > > I am looking at usb_sg_init().
> In essence this leaves handling a persistent failure to the generic > scsi layer, which will timeout and abort the request. Is there any objection > to report the URB where it failed to the immediate user and let him > retry the remainder or handle the error any other way? > I dimly remember discussing this routine in the past. You could make usb_sg_wait just wait until the part already submitted was finished, then go back and retry the remainder. I think that would be simpler. If for any reason you can't transmit the entire buffer, then the entire transfer needs to be aborted by the SCSI error handler anyway. 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/ _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel