[PATCH v7 1/4] driver core: don't always lock parent in shutdown
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Thu Jun 27 00:30:06 PDT 2024
On Thu, Jun 27, 2024 at 07:51:21AM +0200, Christoph Hellwig wrote:
> On Wed, Jun 26, 2024 at 02:46:47PM -0500, Stuart Hayes wrote:
> > Don't lock a parent device unless it is needed in device_shutdown. This
> > is in preparation for making device shutdown asynchronous, when it will
> > be needed to allow children of a common parent to shut down
> > simultaneously.
>
> Looks good:
>
> Reviewed-by: Christoph Hellwig <hch at lst.de>
>
> .. but I guess this means async shutdown won't work well for busses
> that set this flag (just usb currently)?
USB can't do async shutdown due to the tree topology requirements here
so hopefully this should be ok.
thanks,
greg k-h
More information about the Linux-nvme
mailing list