diff options
author | Jason Gunthorpe <[email protected]> | 2020-09-14 15:20:18 -0300 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2020-09-14 15:20:18 -0300 |
commit | 4aa1615268a8ac2b20096211d3f9ac53874067d7 (patch) | |
tree | 5b0eb5958ba2af2158b887bede73b82d21490adc /tools/perf/util/scripting-engines | |
parent | 856deb866d16e29bd65952e0289066f6078af773 (diff) |
RDMA/core: Fix ordering of CQ pool destruction
rxe will hold a refcount on the IB device as long as CQ objects exist,
this causes destruction of a rxe device to hang if the CQ pool has any
cached CQs since they are being destroyed after the refcount must go to
zero.
Treat the CQ pool like a client and create/destroy it before/after all
other clients. No users of CQ pool can exist past a client remove call.
Link: https://lore.kernel.org/r/[email protected]
Fixes: c7ff819aefea ("RDMA/core: Introduce shared CQ pool API")
Tested-by: Bart Van Assche <[email protected]>
Tested-by: Yi Zhang <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines')
0 files changed, 0 insertions, 0 deletions