Re: [PATCH v3] usb: uas: wait for pending commands before unbinding
From: Oliver Neukum
Date: Wed Oct 28 2026 - 04:48:27 EST
On 28.10.26 03:09, Jiayi Li wrote:
Hi,
USB core has already terminated the interface URBs, but a running
synchronous scan may still be waiting for SCSI command completion.
Waiting for scan_work at the beginning of uas_disconnect() would
therefore delay the command cleanup below.
Why? What is it waiting for? And why do you think we can skip
that wait safely?
Regards
Oliver