Thread (10 messages) 10 messages, 2 authors, 2016-08-03
DORMANTno replies

Re: [PATCH v2 5/5] nvme-rdma: Make sure to shutdown the controller if we can

From: Christoph Hellwig <hidden>
Date: 2016-08-03 09:04:06
Also in: linux-nvme

On Tue, Aug 02, 2016 at 10:53:39AM +0300, Sagi Grimberg wrote:
Relying on ctrl state in nvme_rdma_shutdown_ctrl is wrong because
it will never be NVME_CTRL_LIVE (delete_ctrl or reset_ctrl invoked it).

Instead, check that the admin queue is connected. Note that it is safe
because we can never see a copmeting thread trying to destroy the admin
queue (reset or delete controller).

Signed-off-by: Sagi Grimberg <redacted>
Looks fine,

Reviewed-by: Christoph Hellwig <redacted>
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help