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

Keith Busch keith.busch at intel.com
Fri Oct 2 07:26:22 PDT 2015

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?

> Otherwise looks good:
> Reviewed-by: Christoph Hellwig <hch at lst.de>

More information about the Linux-nvme mailing list