[PATCH] nvme-rdma: Add debug message when reaches timeout
Sagi Grimberg
sagi at grimberg.me
Wed Oct 18 03:44:32 PDT 2017
> diff --git a/drivers/nvme/host/rdma.c b/drivers/nvme/host/rdma.c
> index 92a03ff..00c033e 100644
> --- a/drivers/nvme/host/rdma.c
> +++ b/drivers/nvme/host/rdma.c
> @@ -1582,6 +1582,10 @@ nvme_rdma_timeout(struct request *rq, bool reserved)
> {
> struct nvme_rdma_request *req = blk_mq_rq_to_pdu(rq);
>
> + dev_dbg_ratelimited(req->queue->ctrl->ctrl.device,
> + "Reached timeout - cid %d qid %d", rq->tag,
> + cpu_to_le16(nvme_rdma_queue_idx(req->queue)));
> +
The alignment needs fixing.
More information about the Linux-nvme
mailing list