Re: [PATCH] usb: uas: fix usb subsystem hang after power off hub port

From: Martin K. Petersen
Date: Tue Apr 09 2019 - 22:11:31 EST



Bart,

> From which context does that unbind happen? From inside a SCSI EH
> callback or from the context of a workqueue? I think the former is not
> allowed but that the latter is allowed. The SRP initiator driver
> (ib_srp.c) follows the latter approach.

Yeah. It's better to punt the actual tear down.

--
Martin K. Petersen Oracle Linux Engineering