Re: [PATCH 14/18] nvme-fc: Use CCR to recover controller that hits an error
From: Hannes Reinecke
Date: Mon Sep 21 2026 - 04:15:09 EST
On 9/21/26 10:07 AM, Hannes Reinecke wrote:
On 9/18/26 8:14 PM, Mohamed Khalfella wrote:[ .. ]
An alive nvme controller that hits an error now will move to FENCING
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/fc.c | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
I would merge it with the previous patch as both are required to get FC
error handling working properly.
Oh, just checked the remaining patches.
It's indeed better to keep this patch separate.
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