Revert "nvme-pci: Make driver prefer asynchronous shutdown"
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Sep 2024 08:56:59 +0000 (10:56 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Sep 2024 09:01:23 +0000 (11:01 +0200)
This reverts commit ba82e10c3c6b5b5d2c8279a8bd0dae5c2abaacfc.

The series is being reverted before -rc1 as there are still reports of
lockups on shutdown, so it's not quite ready for "prime time."

Reported-by: Andrey Skvortsov <andrej.skvortzov@gmail.com>
Link: https://lore.kernel.org/r/ZvMkkhyJrohaajuk@skv.local
Cc: Christoph Hellwig <hch@lst.de>
Cc: David Jeffery <djeffery@redhat.com>
Cc: Keith Busch <kbusch@kernel.org>
Cc: Laurence Oberman <loberman@redhat.com>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: Sagi Grimberg <sagi@grimberg.me>
Cc: Stuart Hayes <stuart.w.hayes@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvme/host/pci.c

index 58d0d517fead352ee0ec40dd054d1608f360406e..6cd9395ba9ec3d8044b4eaf0e6665c7d739d718d 100644 (file)
@@ -3580,7 +3580,6 @@ static struct pci_driver nvme_driver = {
        .shutdown       = nvme_shutdown,
        .driver         = {
                .probe_type     = PROBE_PREFER_ASYNCHRONOUS,
-               .async_shutdown_enable  = true,
 #ifdef CONFIG_PM_SLEEP
                .pm             = &nvme_dev_pm_ops,
 #endif