[PATCH v6 11/18] nvme-rdma: Use CCR to recover controller that hits an error

Daniel Wagner dwagner at suse.de
Tue Oct 20 02:36:56 PDT 2026


On Sun, Sep 20, 2026 at 11:28:09AM -0700, Mohamed Khalfella wrote:
> @@ -1990,13 +2014,15 @@ static enum blk_eh_timer_return nvme_rdma_timeout(struct request *rq)
>  	struct nvme_rdma_ctrl *ctrl = queue->ctrl;
>  	struct nvme_command *cmd = req->req.cmd;
>  	int qid = nvme_rdma_queue_idx(queue);
> +	enum nvme_ctrl_state state;
>  
>  	dev_warn(ctrl->ctrl.device,
>  		 "I/O tag %d (%04x) opcode %#x (%s) QID %d timeout\n",
>  		 rq->tag, nvme_cid(rq), cmd->common.opcode,
>  		 nvme_fabrics_opcode_str(qid, cmd), qid);
>  
> -	if (nvme_ctrl_state(&ctrl->ctrl) != NVME_CTRL_LIVE) {
> +	state = nvme_ctrl_state(&ctrl->ctrl);
> +	if (state != NVME_CTRL_LIVE && state != NVME_CTRL_FENCING) {

documentation needs to be udpated like in the tcp patch.



More information about the Linux-nvme mailing list