[PATCH] nvme: fix (S)RCU protection of nvme_ns_head list (alternate)

Christoph Hellwig hch at lst.de
Wed Nov 30 00:35:14 PST 2022


On Wed, Nov 30, 2022 at 10:25:19AM +0200, Sagi Grimberg wrote:
> I understand what you mean in general, but in this particular case
> I don't understand what is not working.

How does this work?

> But, if this is too confusing we can make everything srcu protected
> and be done with it.

To me the original patch looks like correct and reasonable, so I'd
prefer to go with that.  We can then look into optimizing the
SRCU usage later if needed.



More information about the Linux-nvme mailing list