linux-nvme.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: hch@infradead.org (Christoph Hellwig)
Subject: [PATCH 1/2] NVMe: Reference count open namespaces
Date: Fri, 2 Oct 2015 07:31:56 -0700	[thread overview]
Message-ID: <20151002143156.GA20337@infradead.org> (raw)
In-Reply-To: <alpine.LNX.2.00.1510021417360.23840@localhost.lm.intel.com>

On Fri, Oct 02, 2015@02:26:22PM +0000, Keith Busch wrote:
> On Fri, 2 Oct 2015, Christoph Hellwig wrote:
> >Shouldn't each namesapce have a reference on the nvme_dev while we're at
> >it?
> 
> We just need to make a small change to the device removal. An orderly
> removal won't drop the final namespace ref until after the last device ref
> is closed first. This relationship isn't necessary and can be simplified
> even more if we remove it.
> 
> Should I fix and resend this patch, or patch on top of this one?

Doing that on top of this patch sounds fine to me.

  reply	other threads:[~2015-10-02 14:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-01 23:14 [PATCH 0/2] Namespace attachment fixes/simplifications Keith Busch
2015-10-01 23:14 ` [PATCH 1/2] NVMe: Reference count open namespaces Keith Busch
2015-10-02 12:59   ` Christoph Hellwig
2015-10-02 14:26     ` Keith Busch
2015-10-02 14:31       ` Christoph Hellwig [this message]
2015-10-01 23:14 ` [PATCH 2/2] NVMe: Simplify device resume on io queue failure Keith Busch
2015-10-02 13:03   ` Christoph Hellwig
2015-10-02 14:17     ` Keith Busch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20151002143156.GA20337@infradead.org \
    --to=hch@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).