Skip to content

Commit ba82e10

Browse files
stuartwhayesgregkh
authored andcommitted
nvme-pci: Make driver prefer asynchronous shutdown
Set the driver default to enable asynchronous shutdown. Signed-off-by: Stuart Hayes <stuart.w.hayes@gmail.com> Signed-off-by: David Jeffery <djeffery@redhat.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Keith Busch <kbusch@kernel.org> Tested-by: Keith Busch <kbusch@kernel.org> Link: https://lore.kernel.org/r/20240822202805.6379-5-stuart.w.hayes@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 8064952 commit ba82e10

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/nvme/host/pci.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3580,6 +3580,7 @@ static struct pci_driver nvme_driver = {
35803580
.shutdown = nvme_shutdown,
35813581
.driver = {
35823582
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
3583+
.async_shutdown_enable = true,
35833584
#ifdef CONFIG_PM_SLEEP
35843585
.pm = &nvme_dev_pm_ops,
35853586
#endif

0 commit comments

Comments
 (0)