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

Martin K. Petersen
2026-04-22T00:42:40Z

David,

> 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.

Looks OK to me.

Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>

--
Martin K. Petersen