Skip to content

Commit ba82e10

Browse files
Stuart Hayesgregkh
authored andcommitted
nvme-pci: Make driver prefer asynchronous shutdown
Set the driver default to enable asynchronous shutdown. Signed-off-by: Stuart Hayes <[email protected]> Signed-off-by: David Jeffery <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Keith Busch <[email protected]> Tested-by: Keith Busch <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 8064952 commit ba82e10

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)