[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180212191519.GD16255@localhost.localdomain>
Date: Mon, 12 Feb 2018 12:15:19 -0700
From: Keith Busch <keith.busch@...el.com>
To: Sagi Grimberg <sagi@...mberg.me>
Cc: Jianchao Wang <jianchao.w.wang@...cle.com>, axboe@...com,
hch@....de, linux-nvme@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] nvme-pci: drain the entered requests after ctrl is
shutdown
On Mon, Feb 12, 2018 at 08:43:58PM +0200, Sagi Grimberg wrote:
>
> > Currently, we will unquiesce the queues after the controller is
> > shutdown to avoid residual requests to be stuck. In fact, we can
> > do it more cleanly, just wait freeze and drain the queue in
> > nvme_dev_disable and finally leave the queues quiesced.
>
> Does this fix a bug? What is the benefit of leaving the queues
> quiesced in shutdown?
This doesn't appear to fix anything. The things this patch does do are
either unnecessary (quiece), or already done elsewhere (wait freeze).
Powered by blists - more mailing lists