Robert,
can you please try replacing the ib_drain_qp with ib_drain_rq ? or make sure
ib_drain_qp don't stuck.
in the past (before v4.6) we sent "recv_beacon" on the isert disconnect
flow.
I suspect that area.
Max.
It is getting stuck in target_wait_for_sess_cmds. ib_drain_qp is
returning just fine. I put in a bunch of debug statements and here is
a clip of them from a previous test.
It won't make a difference, and we need both the rq and the sq drained
before we continue with session teardown.
Robert,
I'm still missing the information of which commands are pending without
a completion.
Please activate target_wait_for_sess_cmds() debug logging.
You can turn on the whole file with:
echo "file target_core_transport.c +p" >
/sys/kernel/debug/dynamic_debug/control
Cheers,
Sagi.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html