Not for a while, can you turn the debug prints in
target_wait_for_sess_cmds so we can understand which commands are
hanging?
Here ya go:
[239800.115739] target_wait_for_sess_cmds: Waiting for se_cmd: ffff88034082c998 t_state: 6, fabric state: 12
Hmm, this means that the command was delegated to isert to send
data+response... Which means we lose a reference put somewhere here.
I'm assuming that this happens before your changes to ib_drain_qp
correct? If this does not happen without your changes it might indicate
that drain_qp is missing an error (or successful?) completion which
would prevent a final reference drop (isert_completion_put).
--
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