Re: [PATCH 10/18] nvme-tcp: Use CCR to recover controller that hits an error
From: Hannes Reinecke
Date: Mon Sep 21 2026 - 03:14:17 EST
On 9/18/26 8:14 PM, Mohamed Khalfella wrote:
An alive nvme controller that hits an error now will move to FENCINGReviewed-by: Hannes Reinecke <hare@xxxxxxxxxx>
state instead of RESETTING state. ctrl->fencing_work attempts CCR to
terminate inflight IOs. Regardless of the success or failure of CCR
operation the controller is transitioned to RESETTING state to continue
error recovery process.
Signed-off-by: Mohamed Khalfella <mkhalfella@xxxxxxxxxxxxxxx>
---
drivers/nvme/host/tcp.c | 29 ++++++++++++++++++++++++++++-
1 file changed, 28 insertions(+), 1 deletion(-)
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare@xxxxxxx +49 911 74053 688
SUSE Software Solutions GmbH, Frankenstr. 146, 90461 Nürnberg
HRB 36809 (AG Nürnberg), GF: I. Totev, A. McDonald, W. Knoblich