[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180226155829.GA10832@localhost.localdomain>
Date: Mon, 26 Feb 2018 08:58:30 -0700
From: Keith Busch <keith.busch@...el.com>
To: Jianchao Wang <jianchao.w.wang@...cle.com>
Cc: axboe@...com, hch@....de, sagi@...mberg.me,
linux-nvme@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH V2] nvme-pci: set cq_vector to -1 if io queue setup fails
On Thu, Feb 15, 2018 at 07:13:41PM +0800, Jianchao Wang wrote:
> nvme cq irq is freed based on queue_count. When the sq/cq creation
> fails, irq will not be setup. free_irq will warn 'Try to free
> already-free irq'.
>
> To fix it, set the nvmeq->cq_vector to -1, then nvme_suspend_queue
> will ignore it.
Applied with updates to change log and removing the miscellaneous white
space changes.
Powered by blists - more mailing lists