[PATCH 1/4] driver core: Support two-pass driver shutdown

Greg KH gregkh at linuxfoundation.org
Thu Dec 21 09:29:10 PST 2023


On Thu, Dec 21, 2023 at 09:22:54AM -0800, Jeremy Allison wrote:
> From: Tanjore Suresh <tansuresh at google.com>
> 
> This changes the bus driver interface with an additional entry point
> to enable devices to implement two-pass shutdown. The existing
> synchronous interface to shutdown is called, and if a shutdown_wait
> method is defined the device is moved to an alternate list.
> 
> Once the shutdown method is called for all devices, the
> shutdown_wait method is then called synchronously for
> all devices on the alternate list.
> 
> Signed-off-by: Tanjore Suresh <tansuresh at google.com>
> Signed-off-by: Jeremy Allison <jallison at ciq.com>

Acked-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>



More information about the Linux-nvme mailing list