Re: UAS support for hcd without sg support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jan 09, 2012 at 07:45:46AM -0800, Greg KH wrote:
> > UAS is not using this function. It comes with usb_sg_wait() which
> > queues the URBs _and_ waits until the transfer is complete. For UAS
> > it should be non-blocking because we need to do this from IRQ
> > context.
> > 
> > So the question is how to deal with it.
> 
> Fix the UAS driver to not do a blocking call from interrupt context?

It's not in interrupt context.  The SCSI layer expects you to queue
the command and return; usg_sg_wait queues the command and waits for it
to finish.  UAS can't use that.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux