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

David Jeffery
2026-04-21T13:30:39Z

On Tue, Apr 21, 2026 at 4:02 AM John Garry <john.g.garry@oracle.com> wrote:
>
> 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.
>

The patchset was against the Linus tree, but is no longer recent
enough as a driver-core merge conflicts with patch 3's header changes.
I'll post a rebased version of the patch.