[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LRH.2.03.1405301027350.11244@AMR>
Date: Fri, 30 May 2014 10:48:27 -0600 (MDT)
From: Keith Busch <keith.busch@...el.com>
To: Matias Bjørling <m@...rling.me>
cc: willy@...ux.intel.com, keith.busch@...el.com, sbradshaw@...ron.com,
axboe@...nel.dk, linux-kernel@...r.kernel.org,
linux-nvme@...ts.infradead.org
Subject: Re: [PATCH v4] NVMe: basic conversion to blk-mq
On Thu, 29 May 2014, Matias Bjørling wrote:
> This converts the current NVMe driver to utilize the blk-mq layer.
I'm pretty darn sure this new nvme_remove can cause a process
with an open reference to use queues after they're freed in the
nvme_submit_sync_command path, maybe even the admin tags too.
> @@ -2802,7 +2574,7 @@ static void nvme_remove(struct pci_dev *pdev)
> nvme_dev_remove(dev);
> nvme_dev_shutdown(dev);
> nvme_free_queues(dev, 0);
> - rcu_barrier();
> + nvme_free_admin_tags(dev);
> nvme_release_instance(dev);
> nvme_release_prp_pools(dev);
> kref_put(&dev->kref, nvme_free_dev);
Powered by blists - more mailing lists