v4.16-rc2 nvme_rdma ib_destroy_qp() warns about MRs
Sagi Grimberg
sagi at grimberg.me
Mon Feb 26 04:46:24 PST 2018
> hi Sagi,
Hi Max,
> I tried this patch but it still doesn't fix the issue.
> this is the same issue I reported and discussed with Ming:
> https://www.mail-archive.com/linux-block@vger.kernel.org/msg18559.html
Didn't follow the thread, wasn't CC'd on it.
> we must somehow drain the commands that were pushed between
> blk_mq_quiesce_queue to blk_mq_unquiesce_queue. The timeout expires
> after we destroy the QP and there are MR missing in the pool.
Its a bug if .queue_rq is being invoked when the queue is quiesced. Have
you actually seen this happen? IFF this is really happening, we can stop
the rdma queues before we iterate on started requests (see a patch I
suggested to Alon). With this, even requests that sneak in when the
queues are quiesced will fail on nvme_rdma_is_ready(). but as said,
I'm surprised this is even happening.
More information about the Linux-nvme
mailing list