Re: [PATCH] usbhid: use GFP_NOIO in reset code path

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

 



On Fri, 12 Oct 2012, Ming Lei wrote:

> In fact, the error handling case may be generalized to the context
> which is doing the actual IO transfer, and the change on mass storage
> should be as below. We can find other similar situations too, such as
> mmc thread(mmc_queue_thread).

Right.  But there's a second context in usb-storage that affects I/O 
transfers: usb_stor_pre_reset() and usb_stor_post_reset().  They 
acquire and release a mutex that is used on the I/O path.

Alan Stern

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