Regression in rdma_rxe driver?
Hi,
If I run the following command:
(cd ~bart/software/blktests && ./check -q srp/001)
against the for-next branch of the RDMA git repository (commit 7fad751c2062 ("RDMA/srp: Apply the __packed attribute to members instead of structures") then the following appears in the kernel log:
Feb 28 14:24:04 ubuntu-vm kernel: WARNING: CPU: 5 PID: 84 at drivers/infiniband/sw/rxe/rxe_comp.c:761 rxe_completer+0xdc5/0x10d0 [rdma_rxe] Feb 28 14:24:04 ubuntu-vm kernel: Call Trace: [ ... ] Feb 28 14:24:05 ubuntu-vm kernel: WARNING: CPU: 5 PID: 39 at lib/refcount.c:28 refcount_warn_saturate+0x154/0x160 Feb 28 14:24:05 ubuntu-vm kernel: Call Trace: [ ... ] Feb 28 14:24:11 ubuntu-vm kernel: WARNING: CPU: 5 PID: 1471 at lib/refcount.c:19 refcount_warn_saturate+0xa8/0x160 Feb 28 14:24:11 ubuntu-vm kernel: Call Trace: [ ... ] Feb 28 14:24:17 ubuntu-vm kernel: WARNING: CPU: 6 PID: 1501 at drivers/infiniband/core/device.c:671 ib_dealloc_device+0x104/0x110 [ib_core] Feb 28 14:24:17 ubuntu-vm kernel: Call Trace: [ ... ] Feb 28 14:24:18 ubuntu-vm kernel: WARNING: CPU: 4 PID: 170 at drivers/infiniband/core/device.c:493 ib_device_release+0xd3/0xe0 [ib_core] Feb 28 14:24:18 ubuntu-vm kernel: Call Trace: [ ... ]
Is this a known issue?
Thanks,
Bart.
This looks like the ib_device ref count bug we are trying to resolve. I am in a tussle with Leon about style. Should get fixed very soon.
bob
-----Original Message-----
From: Bart Van Assche <[email protected]>
Sent: Sunday, February 28, 2021 4:29 PM
To: [email protected]
Cc: Bob Pearson <[email protected]>; [email protected]; Yi Zhang <[email protected]>
Subject: Regression in rdma_rxe driver?
Hi,
If I run the following command:
(cd ~bart/software/blktests && ./check -q srp/001)
against the for-next branch of the RDMA git repository (commit7fad751c2062 ("RDMA/srp: Apply the __packed attribute to members instead of structures") then the following appears in the kernel log:
Feb 28 14:24:04 ubuntu-vm kernel: WARNING: CPU: 5 PID: 84 at drivers/infiniband/sw/rxe/rxe_comp.c:761 rxe_completer+0xdc5/0x10d0 [rdma_rxe] Feb 28 14:24:04 ubuntu-vm kernel: Call Trace: [ ... ] Feb 28 14:24:05 ubuntu-vm kernel: WARNING: CPU: 5 PID: 39 at lib/refcount.c:28 refcount_warn_saturate+0x154/0x160 Feb 28 14:24:05 ubuntu-vm kernel: Call Trace: [ ... ] Feb 28 14:24:11 ubuntu-vm kernel: WARNING: CPU: 5 PID: 1471 at
lib/refcount.c:19 refcount_warn_saturate+0xa8/0x160 Feb 28 14:24:11 ubuntu-vm kernel: Call Trace: [ ... ] Feb 28 14:24:17 ubuntu-vm kernel: WARNING: CPU: 6 PID: 1501 at drivers/infiniband/core/device.c:671 ib_dealloc_device+0x104/0x110 [ib_core] Feb 28 14:24:17 ubuntu-vm kernel: Call Trace: [ ... ] Feb 28 14:24:18 ubuntu-vm kernel: WARNING: CPU: 4 PID: 170 at drivers/infiniband/core/device.c:493 ib_device_release+0xd3/0xe0 [ib_core] Feb 28 14:24:18 ubuntu-vm kernel: Call Trace: [ ... ]
Is this a known issue?
Thanks,
Bart.
Quoted 6 lines · Bart Van Assche
Hi,
If I run the following command:
(cd ~bart/software/blktests && ./check -q srp/001)
Can you show me how to reproduce this problem in my host? I am interested in this problem. Thanks a lot.
Zhu Yanjun
Quoted 27 lines
against the for-next branch of the RDMA git repository (commit
7fad751c2062("RDMA/srp: Apply the__packedattribute to members instead of structures") then the following appears in the kernel log:Feb 28 14:24:04 ubuntu-vm kernel: WARNING: CPU: 5 PID: 84 at drivers/infiniband/sw/rxe/rxe_comp.c:761 rxe_completer+0xdc5/0x10d0 [rdma_rxe] Feb 28 14:24:04 ubuntu-vm kernel: Call Trace: [ ... ] Feb 28 14:24:05 ubuntu-vm kernel: WARNING: CPU: 5 PID: 39 at lib/refcount.c:28 refcount_warn_saturate+0x154/0x160 Feb 28 14:24:05 ubuntu-vm kernel: Call Trace: [ ... ] Feb 28 14:24:11 ubuntu-vm kernel: WARNING: CPU: 5 PID: 1471 at lib/refcount.c:19 refcount_warn_saturate+0xa8/0x160 Feb 28 14:24:11 ubuntu-vm kernel: Call Trace: [ ... ] Feb 28 14:24:17 ubuntu-vm kernel: WARNING: CPU: 6 PID: 1501 at drivers/infiniband/core/device.c:671 ib_dealloc_device+0x104/0x110 [ib_core] Feb 28 14:24:17 ubuntu-vm kernel: Call Trace: [ ... ] Feb 28 14:24:18 ubuntu-vm kernel: WARNING: CPU: 4 PID: 170 at drivers/infiniband/core/device.c:493 ib_device_release+0xd3/0xe0 [ib_core] Feb 28 14:24:18 ubuntu-vm kernel: Call Trace: [ ... ]Is this a known issue?
Thanks,
Bart.
Quoted 7 lines · Zhu Yanjun
Quoted 3 lines · Bart Van Assche
If I run the following command:
(cd ~bart/software/blktests && ./check -q srp/001)
Can you show me how to reproduce this problem in my host? I am interested in this problem. Thanks a lot.
The blktests repository is available at https://github.com/osandov/blktests. You will also need the following patch: https://lore.kernel.org/linux-block/[email protected]/T/#u
Bart.