[PATCH v7 14/17] nvme-fc: Use CCR to recover controller that hits an error
Hannes Reinecke
hare at suse.de
Sun Nov 15 23:38:46 PST 2026
On 11/14/26 4:04 AM, Mohamed Khalfella wrote:
> A LIVE controller that hits an error now moves to FENCING instead of
> RESETTING. ctrl->fencing_work attempts CCR to terminate inflight IOs.
> Regardless of the success or failure of the CCR operation, the
> controller then moves to RESETTING to continue error recovery.
>
> nvme_fc_fencing_work() tears down the association before fencing so
> the LLDD can finish unregistering the remoteport/localport. With this
> patch alone that still completes the inflight requests at the start of
> the fence, which matches the behavior before this series. The next
> patch holds them until fencing has finished.
>
> Signed-off-by: Mohamed Khalfella <mkhalfella at purestorage.com>
> ---
> drivers/nvme/host/fc.c | 69 ++++++++++++++++++++++++++++++++++++------
> 1 file changed, 59 insertions(+), 10 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare at kernel.org>
Cheers,
Hannes
--
Dr. Hannes Reinecke Kernel Storage Architect
hare at suse.de +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
More information about the Linux-nvme
mailing list