[PATCH v1] nvme: avoid race in shutdown namespace removal

Daniel Wagner dwagner at suse.de
Mon Aug 30 03:04:43 PDT 2021


On Mon, Aug 30, 2021 at 11:36:18AM +0200, Daniel Wagner wrote:
> Though one thing I am not really sure how it interacts with
> nvme_init_ns_head() as we could be in running nvme_init_ns_head()
> after we have set last_path = true. I haven't really figured
> out yet what this would mean. Is this a real problem?

I suspect it will regress the very thing 5396fdac56d8 ("nvme: fix
refcounting imbalance when all paths are down") tried to fix.



More information about the Linux-nvme mailing list