Messages in this thread | | | Date | Wed, 25 Oct 2023 11:07:07 +0200 | Subject | Re: [PATCH] usb: storage: add shutdown function for usb storage driver | From | Oliver Neukum <> |
| |
On 24.10.23 21:23, Alan Stern wrote:
> Since USB class-device drivers don't have ->shutdown callbacks (there is > no shutdown() method in struct usb_driver), they don't know what's going > on while a shutdown or reboot is in progress. All they see is a bunch > of errors.
Does this solve the issue? You'd have to flush the cache on the SCSI device further down in the tree, if you want this done properly.
Regards Oliver
| |