Re: [PATCH v14 0/5] shut down devices asynchronously

John Garry
2026-04-21T08:02:14Z

On 20/04/2026 16:26, David Jeffery wrote:
> This patchset allows the kernel to shutdown devices asynchronously and
> unrelated async devices to be shut down in parallel to each other.
>
> Only devices which explicitly enable it are shut down asynchronously. The
> default is for a device to be shut down from the synchronous shutdown loop.
>
> This can dramatically reduce system shutdown/reboot time on systems that
> have multiple devices that take many seconds to shut down (like certain
> NVMe drives). On one system tested, the shutdown time went from 11 minutes
> without this patch to 55 seconds with the patch. And on another system from
> 80 seconds to 11.
>
> Changes from V13:
>
> Remove duplicate flagging of async shutdown on scsi hosts/targets/devices

Please mention the baseline or branch that we can apply this. I tried
Linus' tree, but it did not apply.

Thanks