[bug report] WARNING: possible circular locking at: rdma_destroy_id+0x17/0x20 [rdma_cm] triggered by blktests nvmeof-mp/002

yangx.jy at fujitsu.com yangx.jy at fujitsu.com
Tue Aug 23 00:29:36 PDT 2022


On 2022/6/7 0:21, Jason Gunthorpe wrote:
> On Thu, Jun 02, 2022 at 10:13:25PM -0700, Bart Van Assche wrote:
>> On 6/1/22 10:30, Jason Gunthorpe wrote:
>>> That is just the keys, not the graph arcs. lockdep records an arc
>>> between every key that establishes a locking relationship and
>>> minimizing the number of keys also de-duplicates those arcs.
>>
>> Do you agree that this overhead is acceptable since lockdep is only
>> used to debug kernel code?
> 
> I don't know lockdep well enough to know - if you bloat the graph too
> much it may become excessively slow when searching for
> cycles/edges. Debug workloads with CM may trigger creating of 1000's
> of keys and we still want the testing to be workable.
> 
> IMHO it was not designed to have one key per instance.

Hi Jason, Bart

I wonder if there is a patch to fix the issue?

Best Regards,
Xiao Yang

> 
> Jason


More information about the Linux-nvme mailing list