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

Re: [PATCH 15/17] nvme: track shared namespaces

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

On Thu, Oct 19, 2017 at 02:06:07PM +0300, Sagi Grimberg wrote:
Christoph,
quoted
  static void nvme_free_ns(struct kref *kref)
  {
  	struct nvme_ns *ns = container_of(kref, struct nvme_ns, kref);
  +	if (ns->head)
+		nvme_put_ns_head(ns->head);
+
When can we not have a ns-head set?

AFAICT, if nvme_alloc_ns succeeded, we have it set don't we?
Yes, I don't think we should need it.  Let me verify that for the
next round.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help