public inbox for linux-nvme@lists.infradead.org
 help / color / mirror / Atom feed
From: Bart Van Assche <bart.vanassche@gmail.com>
To: Jeremy Allison <jallison@ciq.com>,
	jra@samba.org, tansuresh@google.com, hch@lst.de
Cc: linux-nvme@lists.infradead.org, Bjorn Helgaas <bhelgaas@google.com>
Subject: Re: [PATCH 2/3] PCI: Support asynchronous shutdown
Date: Wed, 13 Dec 2023 09:50:10 -0800	[thread overview]
Message-ID: <5efd3187-fdec-4e82-8871-6f93ba20c158@gmail.com> (raw)
In-Reply-To: <20231212180938.397403-3-jallison@ciq.com>

On 12/12/23 10:09, Jeremy Allison wrote:
> From: Tanjore Suresh <tansuresh@google.com>
> 
> Enhances the base PCI driver to add support for asynchronous
> shutdown.
> 
> Assume a device takes n secs to shutdown. If a machine has been
> populated with M such devices, the total time spent in shutting down
> all the devices will be M * n secs, if the shutdown is done
> synchronously. For example, if NVMe PCI Controllers take 5 secs
> to shutdown and if there are 16 such NVMe controllers in a system,
> system will spend a total of 80 secs to shutdown all
> NVMe devices in that system.
> 
> In order to speed up the shutdown time, asynchronous interface to
> shutdown has been implemented. This will significantly reduce
> the machine reboot time.
> 
> Signed-off-by: Tanjore Suresh <tansuresh@google.com>
> ---
>   drivers/pci/pci-driver.c | 17 ++++++++++++++---
>   include/linux/pci.h      |  2 ++
>   2 files changed, 16 insertions(+), 3 deletions(-)

Please Cc the PCI maintainer (Bjorn Helgaas) when reposting this patch
series.

Thanks,

Bart.



  reply	other threads:[~2023-12-13 17:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-12 18:09 Make NVME shutdown async Jeremy Allison
2023-12-12 18:09 ` [PATCH 1/3] driver core: Support asynchronous driver shutdown Jeremy Allison
2023-12-13 13:59   ` Sagi Grimberg
2023-12-13 17:34     ` Jeremy Allison
2023-12-13 17:48   ` Bart Van Assche
2023-12-12 18:09 ` [PATCH 2/3] PCI: Support asynchronous shutdown Jeremy Allison
2023-12-13 17:50   ` Bart Van Assche [this message]
2023-12-12 18:09 ` [PATCH 3/3] nvme: Add async shutdown support Jeremy Allison
  -- strict thread matches above, loose matches on Subject: below --
2023-12-15  0:03 Make NVME shutdown async - version 2 Jeremy Allison
2023-12-15  0:03 ` [PATCH 2/3] PCI: Support asynchronous shutdown Jeremy Allison

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5efd3187-fdec-4e82-8871-6f93ba20c158@gmail.com \
    --to=bart.vanassche@gmail.com \
    --cc=bhelgaas@google.com \
    --cc=hch@lst.de \
    --cc=jallison@ciq.com \
    --cc=jra@samba.org \
    --cc=linux-nvme@lists.infradead.org \
    --cc=tansuresh@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox