Skip to content

Commit

Permalink
nvme-rdma: Add debug message when reaches timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Nitzan Carmi <nitzanc@mellanox.com>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
  • Loading branch information
Nitzan Carmi authored and Christoph Hellwig committed Oct 23, 2017
1 parent f87c89a commit e62a538
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/nvme/host/rdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -1578,6 +1578,10 @@ nvme_rdma_timeout(struct request *rq, bool reserved)
{
struct nvme_rdma_request *req = blk_mq_rq_to_pdu(rq);

dev_warn(req->queue->ctrl->ctrl.device,
"I/O %d QID %d timeout, reset controller\n",
rq->tag, nvme_rdma_queue_idx(req->queue));

/* queue error recovery */
nvme_rdma_error_recovery(req->queue->ctrl);

Expand Down

0 comments on commit e62a538

Please sign in to comment.