[PATCH 1/2] NVMe: Reference count open namespaces

Christoph Hellwig hch at infradead.org
Fri Oct 2 07:31:56 PDT 2015


On Fri, Oct 02, 2015 at 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.



More information about the Linux-nvme mailing list