Thread (50 messages) 50 messages, 6 authors, 2017-10-23

Re: [PATCH 10/17] nvme: switch controller refcounting to use struct device

From: Christoph Hellwig <hch@lst.de>
Date: 2017-10-19 10:18:55
Also in: linux-nvme

On Thu, Oct 19, 2017 at 01:02:59PM +0300, Sagi Grimberg wrote:
quoted
By the time we call ->delete_ctrl in nvmf_create_ctrl we must still
have that reference because we are still in a ->write call and thus
->release can't have been called yet.
Thanks for the clarification. Is it worth a preparatory patch to
change that before the ctrl device integration for change log
clarity?
Well, the ctrl device integration is what enables us to do this.
Before that the ctrl refcount could have reached null by the time
we call the delete_ctrl method.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help