That would at least log the issue, but the thread in ib_drain_qp() will be stuck forever continually blocking for 1/10sec and then polling. Perhaps the drain logic should detect this, and then return?
I don't think returning is a better choice here..
Is there a reason we don't get rid of ib_create_cq()? Or just make it call ib_alloc_cq()...
We could do that, it also makes sense to me. Thoughts from others? -- 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