Re: [IB/srpt] c804af2c1d: last_state.test.blktests.exit_code.143

From: Jason Gunthorpe
Date: Mon Aug 24 2020 - 09:31:00 EST


On Sun, Aug 23, 2020 at 02:18:41PM -0700, Bart Van Assche wrote:

> The patch below is sufficient to unbreak blktests. I think that the
> deadlock while unloading rdma_rxe happens because the RDMA core waits for
> all ib_dev references to be dropped before dealloc_driver is called.

Which is required, yes

> The rdma_rxe dealloc_driver implementation drops an ib_dev
> reference.

Where does it do that? I didn't notice it?

Jason