[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8ed3dd57-120a-49d2-817b-504d2f5523fc@rowland.harvard.edu>
Date: Wed, 25 Oct 2023 10:28:41 -0400
From: Alan Stern <stern@...land.harvard.edu>
To: Oliver Neukum <oneukum@...e.com>
Cc: "gregkh@...uxfoundation.org" <gregkh@...uxfoundation.org>,
"Li, Meng" <Meng.Li@...driver.com>,
"linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>,
"usb-storage@...ts.one-eyed-alien.net"
<usb-storage@...ts.one-eyed-alien.net>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] usb: storage: add shutdown function for usb storage
driver
On Wed, Oct 25, 2023 at 11:07:07AM +0200, Oliver Neukum wrote:
> 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.
Depends on what issue you're talking about. The purpose of the proposed
patch was not to make sure that the reboot happens cleanly; it was to
prevent certain error messages from showing up in the system log.
Besides, Meng Li has decided to withdraw the patch submission.
Alan Stern
Powered by blists - more mailing lists