[PATCH] nvme-pci: silence a lockdep complaint

Sagi Grimberg sagi at grimberg.me
Thu May 23 03:04:13 PDT 2024



On 23/05/2024 9:54, Christoph Hellwig wrote:
> On Wed, May 22, 2024 at 03:36:19PM -0600, Keith Busch wrote:
>> The below patch is what I'm messing with. I have a CMIC PCI NVMe and
>> nvme native multipathing enabled, and that can recreate the lockdep
>> splat 100% of the time. It goes away with this patch. Non-multipath
>> devices are harder to hit the lockdep splat for a different reason.
> I much prefer the srcu locking as it has real benefits as well over
> a global-ish rwsem.  I'll try to get to a real review in a bit.
>

Can you explain what are these benefits?



More information about the Linux-nvme mailing list