Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Stuart Hayes and committed by
Greg Kroah-Hartman
ba82e10c 8064952c

+1
+1
drivers/nvme/host/pci.c
··· 3580 3580 .shutdown = nvme_shutdown, 3581 3581 .driver = { 3582 3582 .probe_type = PROBE_PREFER_ASYNCHRONOUS, 3583 + .async_shutdown_enable = true, 3583 3584 #ifdef CONFIG_PM_SLEEP 3584 3585 .pm = &nvme_dev_pm_ops, 3585 3586 #endif