From mboxrd@z Thu Jan 1 00:00:00 1970 From: hch@infradead.org (Christoph Hellwig) Date: Fri, 2 Oct 2015 07:31:56 -0700 Subject: [PATCH 1/2] NVMe: Reference count open namespaces In-Reply-To: References: <1443741251-13274-1-git-send-email-keith.busch@intel.com> <1443741251-13274-2-git-send-email-keith.busch@intel.com> <20151002125932.GA11175@infradead.org> Message-ID: <20151002143156.GA20337@infradead.org> 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.