[PATCH v7 1/4] driver core: don't always lock parent in shutdown

Christoph Hellwig hch at lst.de
Wed Jun 26 22:51:21 PDT 2024


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)?




More information about the Linux-nvme mailing list