Re: [RFC PATCH 0/6] async device shutdown support

From: Lukas Wunner
Date: Mon Feb 19 2024 - 02:32:14 EST


[cc += Stuart, linux-pci; start of thread:
https://lore.kernel.org/lkml/20240207184100.18066-1-djeffery@xxxxxxxxxx/
]

On Wed, Feb 07, 2024 at 12:40:15PM -0800, Jeremy Allison wrote:
> On Wed, Feb 07, 2024 at 1:40:54PM -0500 David Jeffery wrote:
> > This is another attempt to implement an acceptable implementation of async
> > device shutdown, inspired by a previous attempt by Tanjore Suresh. For
> > systems with many disks, async shutdown can greatly reduce shutdown times
> > from having slow operations run in parallel.
>
> It may have escaped your notice that I was shepherding a newer version
> of Tanjore's original patchset through the nvme lists already. Please
> look at version 5 here (I am working on version 6 currently).

Stuart Hayes has also been working on async shutdown and his approach
is much leaner than yours. He needs testers. Maybe you can give his
patch a spin and report back if it works for you, so that you guys can
collaborate instead of working on separate approaches?

Here's Stuart's v5:
https://lore.kernel.org/all/20231128210436.506510-1-stuart.w.hayes@xxxxxxxxx/

Thanks,

Lukas