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

Hannes Reinecke hare at suse.de
Sun Nov 15 23:19:07 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.
> 
> A request that times out while the controller is FENCING is not
> completed. Its timer is rearmed, since inflight requests must not be
> retried before the fence is over. nvme_rdma_stop_ctrl() flushes
> fencing_work, so deleting a controller that is fencing waits for the
> fence to finish.
> 
> Signed-off-by: Mohamed Khalfella <mkhalfella at purestorage.com>
> ---
>   drivers/nvme/host/rdma.c | 39 ++++++++++++++++++++++++++++++++++-----
>   1 file changed, 34 insertions(+), 5 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